Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed the issue of waiting for restart after exiting #272

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

pengfeixx
Copy link
Contributor

Fixed the issue of waiting for restart after exiting

Bug: https://pms.uniontech.com/bug-view-289903.html
Log: Fixed the issue of waiting for restart after exiting

Fixed the issue of waiting for restart after exiting

Bug: https://pms.uniontech.com/bug-view-289903.html
Log: Fixed the issue of waiting for restart after exiting
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • main.qml中新增的GControl.forceExit();调用可能会引发未定义行为,因为GControl对象可能未正确初始化或未定义。
  • GlobalControl::forceExit()方法中调用了QApplication::exit(0)_Exit(0),这两个函数都会终止应用程序,但_Exit(0)是C标准库函数,可能不适用于所有平台。

是否建议立即修改:

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pengfeixx, rb-union

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pengfeixx pengfeixx merged commit 2e7937e into linuxdeepin:master Dec 2, 2024
15 of 17 checks passed
@pengfeixx pengfeixx deleted the exit branch December 2, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants