484603 HashLoginService does not stop its PropertyUserStore

This commit is contained in:
Jan Bartel 2015-12-18 11:52:56 +11:00
parent 88945478f7
commit ecbfe7c1d0
1 changed files with 3 additions and 4 deletions

View File

@ -56,7 +56,6 @@ public class HashLoginService extends MappedLoginService implements UserListener
private PropertyUserStore _propertyUserStore;
private String _config;
private Resource _configResource;
private Scanner _scanner;
private boolean hotReload = false; // default is not to reload
@ -254,9 +253,9 @@ public class HashLoginService extends MappedLoginService implements UserListener
protected void doStop() throws Exception
{
super.doStop();
if (_scanner != null)
_scanner.stop();
_scanner = null;
if (_propertyUserStore != null)
_propertyUserStore.stop();
_propertyUserStore = null;
}
/* ------------------------------------------------------------ */