mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 986379 - Console crash for a mTimer set to null, r=ehsan
This commit is contained in:
parent
711f812b8a
commit
23d928823f
@ -918,7 +918,7 @@ Console::Notify(nsITimer *timer)
|
||||
delete data;
|
||||
}
|
||||
|
||||
if (mQueuedCalls.isEmpty()) {
|
||||
if (mQueuedCalls.isEmpty() && mTimer) {
|
||||
mTimer->Cancel();
|
||||
mTimer = nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user