Skip to content

Fix disconnect() call, sender can never be nullptr

Ahmad Samir requested to merge work/ahmad/fix-disconnect into master

This fixes my commit 3d4ebc67.

GIT_SILENT


Disconnect first, then call logout()

This makes more sense to me, because if the process state changes somewhere between entering the if block and calling logout(), the connection which was made in the constructor, might call logout() again.

Edited by Ahmad Samir

Merge request reports

Loading