mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-05 14:47:39 +00:00
Fix event loop tracking crash.
This commit is contained in:
parent
10ced19841
commit
b7707a8a89
@ -197,7 +197,9 @@ private:
|
||||
}
|
||||
|
||||
- (void) darkModeChanged:(NSNotification *)aNotification {
|
||||
Core::App().domain().notifyUnreadBadgeChanged();
|
||||
Core::Sandbox::Instance().customEnterFromEventLoop([&] {
|
||||
Core::App().domain().notifyUnreadBadgeChanged();
|
||||
});
|
||||
}
|
||||
|
||||
- (void) screenIsLocked:(NSNotification *)aNotification {
|
||||
|
Loading…
Reference in New Issue
Block a user