• Jeffrey Wilcke's avatar
    event: fixed subscribtions to stopped event mux · 7c1f7471
    Jeffrey Wilcke authored
    This fixes an issue where the following would lead to a panic due to a
    channel being closed twice:
    
    * Start mux
    * Stop mux
    * Sub to mux
    * Unsub
    
    This is fixed by setting the subscriptions status to closed resulting in
    the Unsubscribe to ignore the request when called.
    7c1f7471
event_test.go 4.21 KB