Compare commits

...

2 commits

Author SHA1 Message Date
8c6561cbef Update Changelog.md 2024-11-12 14:58:16 +09:00
c4f06b799e Add back setting of member variable in init fn 2024-11-12 14:57:49 +09:00
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## Version 2.7
Fix incorrect initialization.
## Version 2.6
Use a more robust mutex (by using `std::recursive_mutex` instead of

View file

@ -89,6 +89,8 @@ namespace SC_AM_Internal {
malloced_list_head->data = nullptr;
malloced_list_tail->data = nullptr;
deferred_node = nullptr;
recursive_mutex = real_malloc(sizeof(std::recursive_mutex));
void *unused = new(recursive_mutex) std::recursive_mutex{};
(void)unused;