Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Problem Calling IAKStreamMger::Get()->Destroy() at exit of program Causes Memory leak in wwise sdk version 2018.1.0.6714

+1 vote

I am using the wwise sdk in a  windows 10 x64 platform right now for my final degree project for school and for some reason in my terminate function it works up until the function  IAKStreamMger::Get()->Destroy() is called then it breaks and pops up a message saying  "..\Common\AkMemoryMgrBase.cpp:945 Assertion Failed! Expression:used == false && Memory leak detected && size" if anyone has a solution to this or to point me in the right direction if this has been resolved before, it would be much appreciated.

asked Sep 24, 2018 in General Discussion by Zayn B. (110 points)

1 Answer

+1 vote
Hi. It is likely you have forgotten to AK::*::Term() one of the WWISE components. On my side I had set up communications with AK::Comm::Init and its AK::Comm::Term counterpart was missing when terminating my program. Hope it helps.
answered Dec 9, 2018 by Thomas K. (170 points)
...