Letractively / lunar-thu

Automatically exported from code.google.com/p/lunar-thu
0 stars 0 forks source link

Process does not terminate when main window is closed #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Main Program
2. Exit the Program
3. Watch Task Manager

What is the expected output? What do you see instead?
"SmartMe.Windows.exe" should be terminated. But it is still running instead.

Please use labels and text to provide additional information.
I think the reason is that some thread may still be running, and it is not
a background thread.

Original issue reported on code.google.com by wuhaotsh@gmail.com on 28 Dec 2009 at 1:24

GoogleCodeExporter commented 8 years ago
Fixed! 

HistoryWindow OnClosing: "e.cancel = true;" 存在Bug。
当关闭程序时,导致资源无法释放!

Original comment by bol...@gmail.com on 28 Dec 2009 at 2:05

GoogleCodeExporter commented 8 years ago
The fix breaks consistency. When History is opened, then closed, then reopened, 
the
program will crash.

Original comment by wuhaotsh@gmail.com on 28 Dec 2009 at 2:10

GoogleCodeExporter commented 8 years ago
Fixed: Create a new history window each time when "ShowHistoryWindow" is 
clicked.

Original comment by wuhaotsh@gmail.com on 29 Dec 2009 at 1:15