Skip to content

Commit af026b8

Browse files
Fix actor system usage after it was freed (ydb-platform#7316)
Co-authored-by: Semyon Danilov <[email protected]> (cherry picked from commit 652be9a)
1 parent 19756b2 commit af026b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/testlib/actors/test_runtime.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
namespace NActors {
2424

2525
void TTestActorRuntime::TNodeData::Stop() {
26-
TNodeDataBase::Stop();
2726
if (Mon) {
2827
Mon->Stop();
28+
GetAppData<NKikimr::TAppData>()->Mon = nullptr;
2929
}
30+
TNodeDataBase::Stop();
3031
}
3132

3233
TTestActorRuntime::TNodeData::~TNodeData() {

0 commit comments

Comments
 (0)