Closed
Bug 1679295
Opened 5 years ago
Closed 5 years ago
ext-cloudFile.js doesn't avoid unregistering providers on shutdown
Categories
(Thunderbird :: FileLink, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1680989
People
(Reporter: standard8, Unassigned)
References
Details
I cam across this code earlier today:
onShutdown(reason) {
if (reason == "APP_SHUTDOWN") {
return;
}
cloudFileAccounts.unregisterProvider(this.providerType);
}
Unfortunately that doesn't work for extension API definitions. The argument passed to onShutdown is typically isAppShutdown and is a boolean value, e.g. https://searchfox.org/comm-central/search?q=isAppShutdown&path=&case=false®exp=false
Therefore the unregister won't be skipped on app shutdown.
Comment 1•5 years ago
|
||
(assuming this affects 78, and isn't a recent regression)
Version: unspecified → 78
Comment 2•5 years ago
|
||
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•