2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix possible crash in event loop nesting.

This commit is contained in:
John Preston
2019-09-09 10:37:22 +03:00
parent fd4f384c3b
commit b631d09a40
2 changed files with 20 additions and 17 deletions

View File

@@ -534,9 +534,9 @@ void Sandbox::processPostponedCalls(int level) {
}
bool Sandbox::nativeEventFilter(
const QByteArray &eventType,
void *message,
long *result) {
const QByteArray &eventType,
void *message,
long *result) {
registerEnterFromEventLoop();
return false;
}