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 Apr 10, 2024
1 parent 93637b1 commit e4eaaa9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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/src/Realm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class Realm {
binding.App.clearCachedApps();
ProgressRealmPromise.cancelAll();

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

Expand Down

0 comments on commit e4eaaa9

Please sign in to comment.