diff options
author | Vasily Gerasimov <UgnineSirdis@ydb.tech> | 2024-08-02 11:54:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 11:54:24 +0300 |
commit | 652be9ac2c23f3f9dd0eb8fb895f4e3c159529ca (patch) | |
tree | abeadfeb0bbc456aeac9ea6c6ead98cc93c2250f | |
parent | d34dcf30a049e90574f962b293f9dd293e807bad (diff) | |
download | ydb-652be9ac2c23f3f9dd0eb8fb895f4e3c159529ca.tar.gz |
Fix actor system usage after it was freed (#7316)
Co-authored-by: Semyon Danilov <samvimes@yandex.ru>
-rw-r--r-- | ydb/core/testlib/actors/test_runtime.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/core/testlib/actors/test_runtime.cpp b/ydb/core/testlib/actors/test_runtime.cpp index 1669294a00c..6fc7cfbaabd 100644 --- a/ydb/core/testlib/actors/test_runtime.cpp +++ b/ydb/core/testlib/actors/test_runtime.cpp @@ -24,10 +24,11 @@ namespace NActors { void TTestActorRuntime::TNodeData::Stop() { - TNodeDataBase::Stop(); if (Mon) { Mon->Stop(); + GetAppData<NKikimr::TAppData>()->Mon = nullptr; } + TNodeDataBase::Stop(); } TTestActorRuntime::TNodeData::~TNodeData() { |