[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9798: Sound is still an object, n
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9798: Sound is still an object, needs to mark proper properties too for GC! |
Date: |
Sat, 20 Sep 2008 12:06:49 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9798
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sat 2008-09-20 12:06:49 +0200
message:
Sound is still an object, needs to mark proper properties too for GC!
NOTE: this isn't tested, to test it should be enough to add a custom
property to a Sound instance and access it on next frame (and check
with valgrind if that isn't enough for a segfault)
modified:
libcore/asobj/Sound.cpp
=== modified file 'libcore/asobj/Sound.cpp'
--- a/libcore/asobj/Sound.cpp 2008-09-04 12:15:33 +0000
+++ b/libcore/asobj/Sound.cpp 2008-09-20 10:06:49 +0000
@@ -703,6 +703,7 @@
{
if ( connection ) connection->setReachable();
if ( attachedCharacter ) attachedCharacter->setReachable();
+ markAsObjectReachable();
}
#endif // GNASH_USE_GC
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9798: Sound is still an object, needs to mark proper properties too for GC!,
Sandro Santilli <=