Skip to content

Commit 652be9a

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/testlib/actors/test_runtime.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
namespace NActors {
2525

2626
void TTestActorRuntime::TNodeData::Stop() {
27-
TNodeDataBase::Stop();
2827
if (Mon) {
2928
Mon->Stop();
29+
GetAppData<NKikimr::TAppData>()->Mon = nullptr;
3030
}
31+
TNodeDataBase::Stop();
3132
}
3233

3334
TTestActorRuntime::TNodeData::~TNodeData() {

0 commit comments

Comments
 (0)