Fix null pointer exception in LDAP contact source plugin.

cusax-fix
Sebastien Vincent 15 years ago
parent 5a6e3e23b2
commit 6e40d168a5

@ -346,7 +346,10 @@ protected void stopped(boolean completed)
@Override
public void cancel()
{
ldapQuery.setState(LdapQuery.State.CANCELLED);
if(ldapQuery != null)
{
ldapQuery.setState(LdapQuery.State.CANCELLED);
}
super.cancel();
}
}

Loading…
Cancel
Save