Skip to content

Commit

Permalink
Close the webview window when closing the webview
Browse files Browse the repository at this point in the history
  • Loading branch information
allan-o3h committed May 6, 2020
1 parent 01cf0bb commit a59170e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/Mac/Sources/WebViewSeparated.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ - (void)dispose
[webView stopLoading:nil];
webView = nil;
}
if (window != nil) {
[window close];
}
gameObject = nil;
bitmap = nil;
window = nil;
Expand Down

0 comments on commit a59170e

Please sign in to comment.