Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chakaz committed Dec 2, 2024
1 parent 55b2152 commit 9abb449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/cluster/outgoing_slot_migration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class OutgoingMigration::SliceSlotMigration : private ProtocolClient {
}

~SliceSlotMigration() {
streamer_.Cancel();
Cancel();
cntx_.JoinErrorHandler();
}

Expand Down Expand Up @@ -81,6 +81,7 @@ class OutgoingMigration::SliceSlotMigration : private ProtocolClient {
}

void Cancel() {
cntx_.Cancel();
streamer_.Cancel();
}

Expand Down

0 comments on commit 9abb449

Please sign in to comment.