Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg

This commit is contained in:
Brian R. Bondy 2012-02-28 13:42:13 -05:00
parent 1b655facbb
commit 1089a70b55

View File

@ -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();