diff --git a/ydb/core/testlib/actors/test_runtime.cpp b/ydb/core/testlib/actors/test_runtime.cpp index 22201081f16f..645a9368b69e 100644 --- a/ydb/core/testlib/actors/test_runtime.cpp +++ b/ydb/core/testlib/actors/test_runtime.cpp @@ -23,10 +23,11 @@ namespace NActors { void TTestActorRuntime::TNodeData::Stop() { - TNodeDataBase::Stop(); if (Mon) { Mon->Stop(); + GetAppData()->Mon = nullptr; } + TNodeDataBase::Stop(); } TTestActorRuntime::TNodeData::~TNodeData() {