484603 HashLoginService does not stop its PropertyUserStore

This commit is contained in:
Jan Bartel 2015-12-18 11:40:19 +11:00
parent 1543601968
commit d9d3b04526
1 changed files with 3 additions and 4 deletions

View File

@ -52,7 +52,6 @@ public class HashLoginService extends MappedLoginService implements UserListener
private PropertyUserStore _propertyUserStore;
private String _config;
private Resource _configResource;
private Scanner _scanner;
private int _refreshInterval = 0;// default is not to reload
/* ------------------------------------------------------------ */
@ -159,9 +158,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;
}
/* ------------------------------------------------------------ */