diff --git a/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart b/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart index 15968c6a6..b410005a2 100644 --- a/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart +++ b/pkgs/jnigen/test/simple_package_test/runtime_test_registrant.dart @@ -762,7 +762,6 @@ void registerTests(String groupName, TestRunnerCallback test) { await _waitUntil(() => MyInterface.$impls.isEmpty); expect(MyRunnable.$impls, isEmpty); } - runnable.release(); }); } group('Dart exceptions are handled', () {