Page 1 of 1

mmEffectCancelAll

Posted: Fri Feb 20, 2009 3:26 pm
by biszop
Could be that mmEffectCancelAll() cause bugs? And especially using it even with no effects playing? Does mmEffectCancel could cause some bugs too if effect isn`t playing?
I`m not certain that it could cause bugs in my code byt i want to be 100% sure.

Re: mmEffectCancelAll

Posted: Sat Feb 21, 2009 9:32 am
by eKid
mmEffectCancelAll doesn't cause any problems that I know of. If there are no effects active then it should do nothing. What kind of problem are you experiencing?

Re: mmEffectCancelAll

Posted: Sat Feb 21, 2009 1:24 pm
by biszop
Program freezes after that, but I checked lately that I have memory leak. I suppose that this is no problem with mmEffectCancelAll, but all of the mmUnload, mmUnloadEffect, mmEffectCancelAll, mmStop that is used. There is rather no problem with them in all. As i said I have some memory leak and it occurs rather accidentaly when I call them.