Community
Participate
Working Groups
In testing the patch in bug 312677 I found a bug in the ConsoleSession class in the framework. The getService call has an incorrect null check against the sessionRegistration. This prevents the ConsoleSession from ever saving the service registration. As a result when the ConsoleSession is closed the service associated with the ConsoleSession is never unregistred. If you open and close the osgi console several times you will see this by running the following command: services (objectClass=*ConsoleSession) This will list all the "dead" sessions that should have been unregisted.
Created attachment 168237 [details] patch Fixes the null check to correctly save the service registration.
Andrew please review.
looks good.
Patch release for RC1.