diff --git a/validator/server_arb/machine.go b/validator/server_arb/machine.go index aa4ab85706..a9475c7f7c 100644 --- a/validator/server_arb/machine.go +++ b/validator/server_arb/machine.go @@ -68,6 +68,8 @@ func (m *ArbitratorMachine) Destroy() { if m.ptr != nil { C.arbitrator_free_machine(m.ptr) m.ptr = nil + // We no longer need a finalizer + runtime.SetFinalizer(m, nil) } resolverWithRefCounter, ok := preimageResolvers.Load(m.contextId) if ok {