music plugin: add null check to SettingsSideSlider icon on shutdown
This commit is contained in:
@@ -599,7 +599,10 @@ public class MusicPlugin extends Plugin
|
||||
handle.setSpriteId(SpriteID.SETTINGS_SLIDER_HANDLE_BLUE);
|
||||
}
|
||||
|
||||
this.icon.setOnOpListener((Object[]) null);
|
||||
if (this.icon != null)
|
||||
{
|
||||
this.icon.setOnOpListener((Object[]) null);
|
||||
}
|
||||
|
||||
Widget root = client.getWidget(this.root);
|
||||
if (root != null)
|
||||
|
||||
Reference in New Issue
Block a user