Compare commits

...

1 Commits

Author SHA1 Message Date
78c7ef5b46 fix main screen destruction order,
so plugins can cleanup before their facilities get destroyed
2024-04-06 11:59:05 +02:00

View File

@ -48,8 +48,6 @@ struct MainScreen final : public Screen {
RegistryMessageModel rmm;
MessageTimeSort mts;
PluginManager pm;
ToxEventLogger tel{std::cout};
ToxClient tc;
ToxPrivateImpl tpi;
@ -75,6 +73,8 @@ struct MainScreen final : public Screen {
ToxUIUtils tuiu;
ToxDHTCapHisto tdch;
PluginManager pm; // last, so it gets destroyed first
bool _show_tool_style_editor {false};
bool _show_tool_metrics {false};
bool _show_tool_debug_log {false};