Reset WaylandServer::s_self in destructor
When using KWIN_SINGLETON macros, you still need to reset s_self manually in the destructor.
This commit is contained in:
parent
5be593d4e4
commit
4ba7aa62b9
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ WaylandServer::WaylandServer(QObject *parent)
|
||||||
WaylandServer::~WaylandServer()
|
WaylandServer::~WaylandServer()
|
||||||
{
|
{
|
||||||
destroyInputMethodConnection();
|
destroyInputMethodConnection();
|
||||||
|
s_self = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
KWaylandServer::ClientConnection *WaylandServer::xWaylandConnection() const
|
KWaylandServer::ClientConnection *WaylandServer::xWaylandConnection() const
|
||||||
|
|
Loading…
Reference in a new issue