Open Bug 703720 Opened 8 years ago

Notify observers of "startupcache-invalidate" before reloading plugins

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: bugzilla-mozilla-20000923, Assigned: rginda)

Details

Due to changes to the subscript loader (which loads our plugins), it now caches non-remote content like local files. This kinda screws up reloading plugins. Luckily, we can flush the cache with a call to the observer topic of "startupcache-invalidate".

Unfortunately, I think this screws the entire startup cache, but there seems to be no alternative in the API. We therefore need to be careful to only notify this topic when reloading a plugin, and not when loading them on initial start.
You need to log in before you can comment on or make changes to this bug.