-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Crash when show/close setting dialog.
设置弹窗在构造时设置了父控件,而父控件(终端窗口)销毁 时同时销毁设置弹窗.导致关闭后在其它终端窗口打开设置 弹窗时,访问已销毁的弹窗对象,程序崩溃. 调整设置弹窗生命周期由 Service 维护,不过仍需要设置 父窗口以实现正常的显示坐标计算. Log: 修复在多个窗口上切换显示设置弹窗崩溃的问题. Bug: https://pms.uniontech.com/bug-view-28636.html Influence: SettingDialog
- Loading branch information
1 parent
eee769e
commit f46624a
Showing
2 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters