MCPcopy Create free account
hub / github.com/buke/quickjs-go / resetFinalizeCounter

Function resetFinalizeCounter

class_test.go:30–32  ·  view source on GitHub ↗

resetFinalizeCounter resets the finalize call counter

()

Source from the content-addressed store, hash-verified

28
29// resetFinalizeCounter resets the finalize call counter
30func resetFinalizeCounter() {
31 atomic.StoreInt64(&finalizeCallCount, 0)
32}
33
34// getFinalizeCount returns the current finalize call count
35func getFinalizeCount() int64 {

Callers 2

TestFinalizerInterfaceFunction · 0.85
TestMemoryManagementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected