diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-26 22:42:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-26 22:42:18 +0000 |
| commit | 755b9af051c73dae5fffbe613fc45d9fd4fbd08d (patch) | |
| tree | 8efc5a92b62f0e9e04f6593ddab896cd42c22e38 /src/wx/hints_dialog.h | |
| parent | 0985598b244ec2b82714a422e5d8381a08c6da35 (diff) | |
Fix hints object so that its lifetime is (nearly) the same as its thread.
Then when the thread AND Hints object are destroyed we get the Signaller's
destructor stuff to stop left-over hint signals being delivered.
Also add a hint about > 30fps DCP rates.
Diffstat (limited to 'src/wx/hints_dialog.h')
| -rw-r--r-- | src/wx/hints_dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/hints_dialog.h b/src/wx/hints_dialog.h index 709587ac9..1fac9d11e 100644 --- a/src/wx/hints_dialog.h +++ b/src/wx/hints_dialog.h @@ -46,7 +46,7 @@ private: wxGauge* _gauge; wxStaticText* _gauge_message; wxRichTextCtrl* _text; - boost::shared_ptr<Hints> _hints; + boost::scoped_ptr<Hints> _hints; std::list<std::string> _current; bool _finished; |
