Sfoglia il codice sorgente

Fix leaking goroutine in events_test.go

Andrew de Andrade 9 anni fa
parent
commit
876982f6db
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      events_test.go

+ 1 - 0
events_test.go

@@ -29,4 +29,5 @@ func TestEventDebounce(t *testing.T) {
 	if eventCount != eventsSeen {
 		t.Fatalf("expected to see %d events but got %d", eventCount, eventsSeen)
 	}
+	debouncer.stop()
 }