From 5e88e522cd4cdd82a91556c2dac39dba41725a0b Mon Sep 17 00:00:00 2001 From: Semyon Yentsov Date: Thu, 14 Aug 2025 17:50:55 +0300 Subject: [PATCH] fix simple reader destruction --- .../engines/reader/simple_reader/iterator/context.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ydb/core/tx/columnshard/engines/reader/simple_reader/iterator/context.cpp b/ydb/core/tx/columnshard/engines/reader/simple_reader/iterator/context.cpp index b53d69b9c15f..2e9e43622c67 100644 --- a/ydb/core/tx/columnshard/engines/reader/simple_reader/iterator/context.cpp +++ b/ydb/core/tx/columnshard/engines/reader/simple_reader/iterator/context.cpp @@ -117,6 +117,9 @@ void TSpecialReadContext::RegisterActors(const NCommon::ISourcesConstructor& sou } void TSpecialReadContext::UnregisterActors() { + if (NActors::TActorSystem::IsStopped()) { + return; + } if (DuplicatesManager) { NActors::TActivationContext::AsActorContext().Send(DuplicatesManager, new NActors::TEvents::TEvPoison); DuplicatesManager = TActorId();