You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes#238: Release references provided by unloaded plugins
When another plugin provides a Statistic instance, that instance should be released when the provider unloads. Failing to do so will prevent that plugin's classloader from being destroyed. This can cause all kinds of unexpected side-effects.
This commit removes references to _all_ Statistic instances whenever _any_ plugin unloads. That's a buckshot, but the effects should be limited to missing stats around the time that a plugin gets unloaded/reloaded - which is expected to be very rare.
Copy file name to clipboardExpand all lines: changelog.html
+1
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ <h1>
48
48
<ul>
49
49
<li>[<ahref='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/232'>Issue #232</a>] - Fix SQL issue when retrieving archived messages from MSSQL</li>
50
50
<li>[<ahref='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/235'>Issue #235</a>] - Plugin compatible with Openfire 4.8.0</li>
51
+
<li>[<ahref='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/238'>Issue #238</a>] - Ensure that Statistics provided by unloaded plugins are no longer referenced.</li>
51
52
<li>[<ahref='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/240'>Issue #240</a>] - Stop using javascript libraries that are removed from Openfire 4.8</li>
52
53
<li>[<ahref='https://github.com/igniterealtime/openfire-monitoring-plugin/issues/242'>Issue #242</a>] - Fix 'Unable to save XML properties' error</li>
0 commit comments