Displaying 1 result from an estimated 1 matches for "4b9cf03".
Did you mean:
439c003
2007 Oct 12
0
2 commits - player/swfplay.c test/trace
...jamin Otte <otte at gnome.org>
Date: Fri Oct 12 14:25:11 2007 +0200
destroy the window when exiting
avoids leaking the whole window hierarchy and with it the player.
Now the player's dispose is properly run again.
diff --git a/player/swfplay.c b/player/swfplay.c
index 4b9cf03..f9b2fb3 100644
--- a/player/swfplay.c
+++ b/player/swfplay.c
@@ -65,7 +65,10 @@ do_fscommand (SwfdecPlayer *player, cons
{
if (g_str_equal (command, "quit")) {
g_assert (loop);
- g_main_loop_quit (loop);
+ if (g_main_loop_is_running (loop)) {
+ gtk_widget_destroy (win...