Merge "Clear registered prediction callbacks on destroy" into rvc-dev
This commit is contained in:
@@ -260,6 +260,7 @@ public final class AppPredictor {
|
|||||||
Log.e(TAG, "Failed to notify app target event", e);
|
Log.e(TAG, "Failed to notify app target event", e);
|
||||||
e.rethrowAsRuntimeException();
|
e.rethrowAsRuntimeException();
|
||||||
}
|
}
|
||||||
|
mRegisteredCallbacks.clear();
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("This client has already been destroyed.");
|
throw new IllegalStateException("This client has already been destroyed.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user