File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Sources/GateEngine/System/Platforms/Platform Implementations/Apple/AppKit/AppKit Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,9 @@ let package = Package(
213213 . enableExperimentalFeature( " StrictConcurrency=minimal " ) ,
214214// .enableExperimentalFeature("StrictConcurrency=complete"),
215215 ] )
216+ #if swift(>=6.2)
217+ settings. append ( . enableExperimentalFeature( " IsolatedDeinit " ) )
218+ #endif
216219 #endif
217220
218221
Original file line number Diff line number Diff line change @@ -284,11 +284,13 @@ final class AppKitWindow: WindowBacking {
284284 #endif
285285 }
286286
287- deinit {
287+ #if swift(>=6.1)
288+ isolated deinit {
288289 if CVDisplayLinkIsRunning ( self . displayLink) {
289290 CVDisplayLinkStop ( self . displayLink)
290291 }
291292 }
293+ #endif
292294}
293295
294296extension AppKitWindow {
You can’t perform that action at this time.
0 commit comments