Skip to content

Commit

Permalink
Remove lifetime hack
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed May 6, 2022
1 parent c7e267a commit dc736c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/src/native/realm_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -979,10 +979,8 @@ class _RealmCore {
});
}

final doNotDie = Set<dynamic>();
AppHandle getApp(AppConfiguration configuration) {
final httpTransportHandle = _createHttpTransport(configuration.httpClient);
doNotDie.add(httpTransportHandle);
final appConfigHandle = _createAppConfig(configuration, httpTransportHandle);
final syncClientConfigHandle = _createSyncClientConfig(configuration);
final realmAppPtr = _realmLib.invokeGetPointer(() => _realmLib.realm_app_get(appConfigHandle._pointer, syncClientConfigHandle._pointer));
Expand Down

0 comments on commit dc736c3

Please sign in to comment.