diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-26 19:45:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-26 19:45:11 +0200 |
| commit | 4621a56be32a44e83b89ec0af77ab899fa86defd (patch) | |
| tree | 0947b5e4bcce856b903ed7e44509bd6f6d19fa23 /src/wx/film_viewer.h | |
| parent | 4b05f5d893bd4cc181da4d18d9107558b613de6e (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.h | 4 |
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 (); |
