mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg
This commit is contained in:
parent
1b655facbb
commit
1089a70b55
@ -160,6 +160,7 @@ public:
|
||||
NS_ASSERTION(!NS_IsMainThread(),
|
||||
"AsyncLocalFileWinOperation should not be run on the main thread!");
|
||||
|
||||
CoInitialize(NULL);
|
||||
switch(mOperation) {
|
||||
case RevealOp: {
|
||||
Reveal();
|
||||
@ -170,6 +171,7 @@ public:
|
||||
}
|
||||
break;
|
||||
}
|
||||
CoUninitialize();
|
||||
|
||||
// Send the result back to the main thread so that it can shutdown
|
||||
nsCOMPtr<nsIRunnable> resultrunnable = new AsyncLocalFileWinDone();
|
||||
|
Loading…
Reference in New Issue
Block a user