IllegalStateException fixed

cusax-fix
Yana Stamcheva 19 years ago
parent 01af7c76dd
commit 59002dff8a

@ -171,6 +171,14 @@ private class ProtocolProviderServiceListener implements ServiceListener
*/
public void serviceChanged(ServiceEvent event)
{
//if the event is caused by a bundle being stopped, we don't want to
//know
if(event.getServiceReference().getBundle().getState()
== Bundle.STOPPING)
{
return;
}
Object service = SystrayActivator.bundleContext
.getService( event.getServiceReference());

Loading…
Cancel
Save