Skip to content

Fix potential bug with incorrect recycling of block of memory across dll boundary#728

Open
olologin wants to merge 1 commit intotaskflow:masterfrom
ModuleWorks:fix_multidll_memory_leak
Open

Fix potential bug with incorrect recycling of block of memory across dll boundary#728
olologin wants to merge 1 commit intotaskflow:masterfrom
ModuleWorks:fix_multidll_memory_leak

Conversation

@olologin
Copy link

Similar problem to what was shown with this_worker, but this time it is because graph.hpp defines ObjectPool object statically, which results in each dll having its own version of object pool, and then recycling is not going to work correctly because it may refer to _gheap object of the current dll, while recycling block that belongs to _gheap of another dll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant