Skip to content

Commit 9453325

Browse files
authored
Merge f93a8b0 into 4b641a3
2 parents 4b641a3 + f93a8b0 commit 9453325

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ydb/core/kqp/compute_actor/kqp_scan_compute_actor.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,18 @@ class TKqpScanComputeActor: public TSchedulableComputeActorBase<TKqpScanComputeA
127127

128128
void PollSources(ui64 prevFreeSpace);
129129

130-
void PassAway() override {
130+
void DoTerminateImpl() override {
131131
if (TaskRunner) {
132132
if (TaskRunner->IsAllocatorAttached()) {
133133
ComputeCtx.Clear();
134134
} else {
135135
auto guard = TaskRunner->BindAllocator(TBase::GetMkqlMemoryLimit());
136136
ComputeCtx.Clear();
137137
}
138+
ScanData = nullptr;
138139
}
139140

140-
TBase::PassAway();
141+
TBase::DoTerminateImpl();
141142
}
142143

143144
void TerminateSources(const NYql::TIssues& issues, bool success) override {

0 commit comments

Comments
 (0)