there is no need for the destructor. close() is redundant when the server is being destroyed anyway, and as before, the QObject destructor will take care of the actual deletion.