mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
backing out bug 827841 patch to fix comment
This commit is contained in:
parent
17b1014315
commit
f53866e76a
@ -117,7 +117,7 @@ public:
|
||||
~nsMainThreadPtrHolder() {
|
||||
if (NS_IsMainThread()) {
|
||||
NS_IF_RELEASE(mRawPtr);
|
||||
} else if (mRawPtr) {
|
||||
} else {
|
||||
nsCOMPtr<nsIThread> mainThread = do_GetMainThread();
|
||||
if (!mainThread) {
|
||||
NS_WARNING("Couldn't get main thread! Leaking pointer.");
|
||||
|
Loading…
Reference in New Issue
Block a user