Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteTheDDDDt committed Nov 8, 2024
1 parent 4516ba0 commit d6e89b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/exprs/runtime_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,8 @@ class SyncSizeClosure : public AutoReleaseClosure<PSendFilterSizeRequest,
AutoReleaseClosure<PSendFilterSizeRequest, DummyBrpcCallback<PSendFilterSizeResponse>>;
ENABLE_FACTORY_CREATOR(SyncSizeClosure);

~SyncSizeClosure() override { ((pipeline::CountedFinishDependency*)_dependency.get())->sub(); }

void _process_if_rpc_failed() override {
Defer defer {[&]() { ((pipeline::CountedFinishDependency*)_dependency.get())->sub(); }};
auto ctx = _rf_context.lock();
if (!ctx) {
return;
Expand All @@ -1070,6 +1069,7 @@ class SyncSizeClosure : public AutoReleaseClosure<PSendFilterSizeRequest,
}

void _process_if_meet_error_status(const Status& status) override {
Defer defer {[&]() { ((pipeline::CountedFinishDependency*)_dependency.get())->sub(); }};
auto ctx = _rf_context.lock();
if (!ctx) {
return;
Expand Down

0 comments on commit d6e89b6

Please sign in to comment.