Skip to content

Commit

Permalink
fix: dde-session cannot shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers authored and dengbo11 committed Nov 22, 2023
1 parent 8afee6b commit 754eb65
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dde-session/impl/sessionmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,11 +818,6 @@ void SessionManager::shutdown(bool force)
setDPMSMode(false);
}

QDBusPendingReply<> reply2 = m_login1SessionInter->Terminate();
if (reply2.isError()) {
qWarning() << "self session failed to terminate, error: " << reply2.error().name();
}

qApp->quit();
}

Expand Down

0 comments on commit 754eb65

Please sign in to comment.