Native: enable more Obj-C interop tests for new MM
This commit is contained in:
committed by
Space
parent
79d4047e86
commit
b13e7d1e28
@@ -15,4 +15,10 @@ fun main() {
|
||||
}.result
|
||||
worker.requestTermination().result
|
||||
waitWorkerTermination(worker)
|
||||
|
||||
if (Platform.memoryModel == MemoryModel.EXPERIMENTAL) {
|
||||
// Experimental MM by default doesn't run GC neither on worker termination nor on program exit.
|
||||
// Enforce GC on program exit:
|
||||
kotlin.native.internal.Debugging.forceCheckedShutdown = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user