Callbacks of an old connection are sometimes executed, which causes weird behavior. This PR tries to fix this by assuring that the callbacks are only executed if they have been initiated by the active connection.
This is a simple and fast solution to the problem, yet probably not the most beautiful approach.
Callbacks of an old connection are sometimes executed, which causes weird behavior. This PR tries to fix this by assuring that the callbacks are only executed if they have been initiated by the active connection.
This is a simple and fast solution to the problem, yet probably not the most beautiful approach.