You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
suppose one subscribed for an ParseObject with objectID = X then in the same time on executing the following line, the subscriber change the object in another thraed and call saveInBackground, it seem in such situation race condition can be occurred ?
private <T extends ParseObject> void handleObjectEvent(Subscription.Event event, JSONObject jsonObject) throws JSONException {
final int requestId = jsonObject.getInt("requestId");
final Subscription<T> subscription = subscriptionForRequestId(requestId);
if (subscription != null) {
--->. **T object = ParseObject.fromJSON(jsonObject.getJSONObject("object"), subscription.getQueryState().className(), ParseDecoder.get(), subscription.getQueryState().selectedKeys());**
}
}
The text was updated successfully, but these errors were encountered:
suppose one subscribed for an ParseObject with objectID = X then in the same time on executing the following line, the subscriber change the object in another thraed and call saveInBackground, it seem in such situation race condition can be occurred ?
The text was updated successfully, but these errors were encountered: