Skip to content

Commit

Permalink
fixed memory leak
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
  • Loading branch information
Oleh Dokuka authored and OlegDokuka committed Feb 26, 2021
1 parent 7e6330d commit a87f227
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ void drainRegular(Subscriber<? super T> a) {
}

if (checkTerminated(d, empty, a)) {
if (!empty) {
release(t);
}
return;
}

Expand Down

0 comments on commit a87f227

Please sign in to comment.