fix some crashes, mostly related to network requests (#6187)
This commit is contained in:
+5
-2
@@ -139,7 +139,8 @@ public:
|
||||
|
||||
void initialize(Settings &settings, const Paths &paths);
|
||||
void load();
|
||||
void save();
|
||||
void aboutToQuit();
|
||||
void stop();
|
||||
|
||||
int run();
|
||||
|
||||
@@ -148,7 +149,7 @@ public:
|
||||
private:
|
||||
std::unique_ptr<Theme> themes;
|
||||
std::unique_ptr<Fonts> fonts;
|
||||
const std::unique_ptr<Logging> logging;
|
||||
std::unique_ptr<Logging> logging;
|
||||
std::unique_ptr<Emotes> emotes;
|
||||
std::unique_ptr<AccountController> accounts;
|
||||
std::unique_ptr<eventsub::IController> eventSub;
|
||||
@@ -246,4 +247,6 @@ IApplication *getApp();
|
||||
/// Might return `nullptr` if the app is being destroyed
|
||||
IApplication *tryGetApp();
|
||||
|
||||
bool isAppAboutToQuit();
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user