removeListener

Unregisters a listener (if it was previously registered by addListener).

After this function returns, it is guaranteed that no more callbacks will be received by this listener.

Caller of this function must not hold the same synchronisation primitive (mutex, lock or similar) which will be held inside callbacks inherited from StoreAccessChangedListener. Otherwise, a deadlock may occur!

Parameters

listener

listener to remove.

Throws

upon calling after disposing the object.