summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-26 19:45:11 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-26 19:45:11 +0200
commit4621a56be32a44e83b89ec0af77ab899fa86defd (patch)
tree0947b5e4bcce856b903ed7e44509bd6f6d19fa23 /src/wx/film_viewer.h
parent4b05f5d893bd4cc181da4d18d9107558b613de6e (diff)
Fix player being destroyed while the butler is still using it.
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 062522ffd..aea3f8c86 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -163,7 +163,9 @@ private:
void idle_handler ();
void request_idle_display_next_frame ();
void film_change (ChangeType, Film::Property);
- void recreate_butler ();
+ void destroy_butler();
+ void create_butler();
+ void destroy_and_maybe_create_butler();
void config_changed (Config::Property);
void film_length_change ();
void ui_finished ();