Skip to content

Commit 0a5e902

Browse files
committed
Fixing PartitionChooserActors leaks (ydb-platform#2742)
1 parent a510fe8 commit 0a5e902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/persqueue/writer/partition_chooser_impl__abstract_chooser_actor.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class TAbstractPartitionChooserActor: public TActorBootstrapped<TDerived> {
207207
TRACE_EVENT(NKikimrServices::PQ_PARTITION_CHOOSER);
208208
switch (ev->GetTypeRewrite()) {
209209
HFunc(NKqp::TEvKqp::TEvQueryResponse, HandleUpdate);
210-
sFunc(TEvents::TEvPoison, ScheduleStop);
210+
SFunc(TEvents::TEvPoison, TThis::Die);
211211
}
212212
}
213213

@@ -237,7 +237,7 @@ class TAbstractPartitionChooserActor: public TActorBootstrapped<TDerived> {
237237
HFunc(NKikimr::TEvPQ::TEvCheckPartitionStatusResponse, Handle);
238238
HFunc(TEvTabletPipe::TEvClientConnected, HandleOwnership);
239239
HFunc(TEvTabletPipe::TEvClientDestroyed, HandleOwnership);
240-
sFunc(TEvents::TEvPoison, ScheduleStop);
240+
SFunc(TEvents::TEvPoison, TThis::Die);
241241
}
242242
}
243243

0 commit comments

Comments
 (0)