You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following loop long enough, will either hang the notifications, or in rare cases crash the app. At least on macOS 14.3 Sonoma, using realm 1.7, and dart 3.2.5.
import'dart:isolate';
import'package:realm_dart/realm.dart';
part'stream_101.g.dart';
@RealmModel()
class_Stuff {
lateint value;
}
final realm =Realm(Configuration.local([Stuff.schema]));
Future<void> main(List<String> arguments) async {
Isolate.run(() async {
int i =0;
while (true) {
realm.write(() {
realm.add(Stuff(i++));
});
awaitFuture.delayed(constDuration(milliseconds:200));
}
});
final results = realm.all<Stuff>();
awaitfor (final stuff in results.changes) {
print(stuff.results.length);
}
}
The text was updated successfully, but these errors were encountered:
Running the following loop long enough, will either hang the notifications, or in rare cases crash the app. At least on macOS 14.3 Sonoma, using realm 1.7, and dart 3.2.5.
The text was updated successfully, but these errors were encountered: