Skip to content

Commit

Permalink
fixes deadlock on multiconsumer clear/poll in UnboundedProcessor (#990)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
  • Loading branch information
OlegDokuka committed Feb 27, 2021
1 parent 645c1f6 commit 61652c3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import io.rsocket.buffer.LeaksTrackingByteBufAllocator;
import io.rsocket.internal.subscriber.AssertSubscriber;
import java.time.Duration;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Timeout;
Expand All @@ -45,6 +46,7 @@ public static void setup() {
Hooks.onErrorDropped(__ -> {});
}

@AfterAll
public static void teardown() {
Hooks.resetOnErrorDropped();
}
Expand Down

0 comments on commit 61652c3

Please sign in to comment.