• 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
Name
Last commit
Last update
..
filter Loading commit data...
event.go Loading commit data...
event_test.go Loading commit data...
example_test.go Loading commit data...