Commit 717fe1b
fix(editor): fix window close logic and lambda capture
Fix window close timing by checking tabbar count instead of just wrappers.
Use proper lambda capture [this] to avoid StartManager::instance() race condition.
修复窗口关闭时机判断,添加标签页计数检查。
修复lambda捕获问题,使用this指针避免instance()竞态条件。
Log: 修复窗口关闭逻辑
PMS: BUG-365421
Influence: 修复编辑器关闭时可能出现的窗口未正确关闭问题,提升应用稳定性。1 parent 7da46b7 commit 717fe1b
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
809 | | - | |
| 808 | + | |
| 809 | + | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | | - | |
1203 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1204 | 1206 | | |
1205 | 1207 | | |
1206 | 1208 | | |
| |||
0 commit comments