0
0

I have a crash when I call System::release() when I create ChannelGroups and attach them to each other. This happens only when the channel groups are left "dangling" at the end of the program (ie they’re not release()ed, and they remain connected.) Here is code to reproduce:
[code:3iakzqw4]int main(int argc, char* argv[])
{
FMOD::System * pSystem = NULL;
FMOD::ChannelGroup * pChannelGroup[2];
FMOD::System_Create(&pSystem);

FMOD_RESULT res = FMOD_OK;
res = pSystem->init(32, FMOD_INITFLAGS(FMOD_INIT_NORMAL), NULL);

for(int i=0; i<2; i++)
{
    pSystem->createChannelGroup("blargh", &pChannelGroup[i]);
}

pChannelGroup[1]->addGroup(pChannelGroup[0]);

pSystem->release();

return 0;

}
[/code:3iakzqw4]
(Tested with 4.04.08 )

I can work around this now by freeing up my ChannelGroups, but it would be very nice if this could be fixed.

Thank you!

  • Guy
  • You must to post comments
0
0

ping!
Just wondering what the status is on this?

Thanks!

  • G
  • You must to post comments
0
0

hi,
Just fixed it now, we are building a new release as we speak. Should be an hour or 2 off.

  • You must to post comments
0
0

ok its up now

  • You must to post comments
0
0

Thank you!
I’ll try it out.

  • Guy
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.