adds assertInGuiThread to getApp() (#2695)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "controllers/commands/CommandController.hpp"
|
||||
#include "controllers/ignores/IgnoreController.hpp"
|
||||
#include "controllers/notifications/NotificationController.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
#include "messages/MessageBuilder.hpp"
|
||||
#include "providers/bttv/BttvEmotes.hpp"
|
||||
#include "providers/chatterino/ChatterinoBadges.hpp"
|
||||
@@ -379,6 +380,8 @@ Application *getApp()
|
||||
{
|
||||
assert(Application::instance != nullptr);
|
||||
|
||||
assertInGuiThread();
|
||||
|
||||
return Application::instance;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user