I have this in my server code:
Sometimes (for example when I log in from the client), the callback is fired once as expected:
But sometimes (for example when I’m logged in already and the server is restarted after the code is changed), the callback is fired twice:
Is this normal? Why is it happening?
Thanks in advance!