Skip to content

Commit

Permalink
Passing null to setDefaultLogger instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Mar 23, 2024
1 parent b46762f commit 7e5980f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/realm/bindgen/js_opt_in_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ classes:
- base64_decode
- make_logger_factory
- make_logger
- reset_default_logger
- simulate_sync_error
- consume_thread_safe_reference_to_shared_realm
- file_exists
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/bindgen/vendor/realm-core
2 changes: 1 addition & 1 deletion packages/realm/src/Realm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class Realm {
binding.App.clearCachedApps();
ProgressRealmPromise.cancelAll();

binding.Helpers.resetDefaultLogger();
binding.Logger.setDefaultLogger(null);
garbageCollection.collect();
}

Expand Down

0 comments on commit 7e5980f

Please sign in to comment.