From 679c9e5285f43d3678eae0f3a5f8aa2d044767d2 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Wed, 5 Jun 2019 16:26:40 -0700 Subject: [PATCH] references: make extension-stop clearer --- reference-extension-stop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/reference-extension-stop.js b/reference-extension-stop.js index 62ba5c5..b6aae41 100644 --- a/reference-extension-stop.js +++ b/reference-extension-stop.js @@ -19,6 +19,7 @@ class StopExtensionSource extends Source { pull (error, buffer) { if (this[kStopped]) { this.sink.next(status_type.end, null, buffer, 0) + return } // ... else ...