Skip to content
Commit e2c88550 authored by meskio's avatar meskio 🏔 Committed by onyinyang
Browse files

internal: unregister the events channel before closing it

defers are executed in oposite direction that then are called. If we
call the close defer after the unregistration of the channel it will
executed first. It can happen that an event arrive between the two of
them and crash rdsys.

* Closes: #222
parent 381e8c23
Pipeline #201043 passed with stage
in 1 minute and 20 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment