mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg
This commit is contained in:
parent
b10ca27a6a
commit
915a11f219
@ -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…
x
Reference in New Issue
Block a user