-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
When call runtime.GC() after every case, some case crashes randomly, currently workaround by disable automatic DecRef.
func setupTest(t *testing.T) {
testMutex.Lock()
Initialize()
// TODO: Remove this once we solve random segfaults
getGlobalData().disableDecRef = true
t.Cleanup(func() {
runtime.GC()
Finalize()
testMutex.Unlock()
})
}Need locate the problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels