Skip to content

Commit

Permalink
Revert "Update deprecated use of GuardedRunnable (#1031)"
Browse files Browse the repository at this point in the history
This reverts commit 9747a33.
  • Loading branch information
jakub-gonet committed Aug 12, 2020
1 parent 730d0e3 commit 84f5041
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void onAnimationFrame(long frameTimeNanos) {
final Queue<NativeUpdateOperation> copiedOperationsQueue = mOperationsInBatch;
mOperationsInBatch = new LinkedList<>();
mContext.runOnNativeModulesQueueThread(
new GuardedRunnable(mContext.getExceptionHandler()) {
new GuardedRunnable(mContext) {
@Override
public void runGuarded() {
boolean shouldDispatchUpdates = UIManagerReanimatedHelper.isOperationQueueEmpty(mUIImplementation);
Expand Down

0 comments on commit 84f5041

Please sign in to comment.