Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

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

0 votes
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. (150 points)
...