[Bf-committers] bug-#1792 fix
Kester Maddock
Christopher.Maddock.1 at uni.massey.ac.nz
Sun Dec 26 00:05:15 CET 2004
Hi snailrose,
This isn't quite the right solution - the crash happens because the actuator
is being deleted from the Python exit function, instead of the scene deletion
method. This is probably because a Python reference is still around,
preventing deletion since actuators are reference counted.
The sound scene & sound objects have already been deleted, so that is why it
crashes.
The solution will be to either reference count sound objects as well, or to
add a Destroy method to logic bricks to tell them to delete resources when
the scene exits.
Kester
On Wednesday 22 December 2004 10:47, charlie c wrote:
> I hope this isnt a double post, if so sorry
>
> in a debug build I received an 'Access Violation' in ~KX_SoundActuator, my
> soliton:
>
> http://snailrose.home.bresnan.net/tmp/bug-1792.txt
>
> if this is not the best method, at least you know where its at :)
>
> snailrose...
--
Good-bye. I am leaving because I am bored.
-- George Saunders' dying words
More information about the Bf-committers
mailing list