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
@@ -31,6 +32,10 @@ public struct NativeActivity: ~Copyable {
31
32
self.pointer = pointer
32
33
}
33
34
35
+
deinit{
36
+
ANativeActivity_finish(pointer)
37
+
}
38
+
34
39
// MARK: - Accessors
35
40
36
41
/// Pointer to the callback function table of the native application.
@@ -247,14 +252,6 @@ public extension NativeActivity {
247
252
func hideSoftInput(flags:UInt32){
248
253
ANativeActivity_hideSoftInput(pointer, flags)
249
254
}
250
-
251
-
/// Finish the given activity.
252
-
///
253
-
/// Calls Activity.finish() on the Java object for the given activity.
254
-
/// Note that this method can be called from any thread; it will send a message to the main thread of the process where the Java finish call will take place.
0 commit comments