mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1255526 - fix import of typed URLs on versions of windows that do not store timestamps, r=MattN a=lizzard
MozReview-Commit-ID: KSXtQAS7meZ
This commit is contained in:
parent
81e4d161e9
commit
661e713de3
@ -710,8 +710,12 @@ function getTypedURLs(registryKeyPath) {
|
||||
} catch (ex) {
|
||||
Cu.reportError("Error reading typed URL history: " + ex);
|
||||
} finally {
|
||||
typedURLKey.close();
|
||||
typedURLTimeKey.close();
|
||||
if (typedURLKey) {
|
||||
typedURLKey.close();
|
||||
}
|
||||
if (typedURLTimeKey) {
|
||||
typedURLTimeKey.close();
|
||||
}
|
||||
cTypes.finalize();
|
||||
}
|
||||
return typedURLs;
|
||||
|
Loading…
Reference in New Issue
Block a user