olahol/melody

When is HandleDisconnect called?

fiatjaf opened this issue · 2 comments

I couldn't find anywhere in the code a line where *Melody.disconnectHandler is called.
That function isn't exported, so it is not being called by another package, right?

Isn't it called here?

m.disconnectHandler(session)

Oops, I was relying on GitHub search and that failed.
Thank you.