Skip to content

Commit

Permalink
fix(🍏): "Timed out waiting for modules to be invalidated" error after…
Browse files Browse the repository at this point in the history
… reloading app (#2544)
  • Loading branch information
wcandillon committed Jul 25, 2024
1 parent 76343ce commit 45ae9cb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions package/cpp/rnskia/RNSkJsiViewApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,6 @@ class RNSkJsiViewApi : public RNJsi::JsiHostObject,
*/
void unregisterAll() {
std::lock_guard<std::mutex> lock(_mutex);
// Unregister all views
auto tempList = _viewInfos;
for (const auto &info : tempList) {
unregisterSkiaView(info.first);
}
_viewInfos.clear();
}

Expand Down

0 comments on commit 45ae9cb

Please sign in to comment.