Skip to content

Commit 4876ec0

Browse files
authored
Fix actor system usage after it was freed (#7316) (#7404)
1 parent 070399b commit 4876ec0

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
@@ -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)