File tree 5 files changed +0
-35
lines changed
5 files changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,6 @@ kotlin {
108
108
targets. withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithTests . class). configureEach {
109
109
binaries. getTest(" DEBUG" ). with {
110
110
optimized = true
111
- // Test for memory leaks using a special entry point that does not exit but returns from main
112
- freeCompilerArgs + = [" -e" , " kotlinx.coroutines.mainNoExit" ]
113
111
}
114
112
115
113
binaries. test(" workerTest" , [DEBUG ]) {
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,9 +20,3 @@ fun mainBackground(args: Array<String>) {
20
20
error(" CFRunLoopRun should never return" )
21
21
}
22
22
23
- // This is a separate entry point for tests with leak checker
24
- fun mainNoExit (args : Array <String >) {
25
- workerMain { // autoreleasepool to make sure interop objects are properly freed
26
- testLauncherEntryPoint(args)
27
- }
28
- }
Original file line number Diff line number Diff line change @@ -16,8 +16,3 @@ fun mainBackground(args: Array<String>) {
16
16
exitProcess(result)
17
17
}.result // block main thread
18
18
}
19
-
20
- // This is a separate entry point for tests with leak checker
21
- fun mainNoExit (args : Array <String >) {
22
- testLauncherEntryPoint(args)
23
- }
You can’t perform that action at this time.
0 commit comments