精英盒子 -> 零毫秒 -> 客户端内存崩溃 [打印本页]

jybox 2011-12-17 16:10

客户端内存崩溃

打开一个私聊窗口,关闭主窗体

发送聊天消息,然后关闭,就会出现内存崩溃而退出

whtsky 2011-12-17 18:40

jybox 2011-12-17 19:13
已修复:
https://github.com/jybox/ZeroMS/commit/370f51933ef538d658d0a975d1c2320eaeb9c495


并不是内存崩溃,见源代码,以及Qt文档

mason 2011-12-17 21:05
为甚?

jybox 2011-12-17 21:44
mason:
为甚?



quitOnLastWindowClosed : bool


This property holds whether the application implicitly quits when the last window is closed.
The default is true.
If this property is true, the applications quits when the last visible primary window (i.e. window with no parent) with the Qt::WA_QuitOnClose attribute set is closed. By default this attribute is set for all widgets except for sub-windows. Refer to Qt::WindowType for a detailed list of Qt::Window objects.
Access functions:
boolquitOnLastWindowClosed ()
voidsetQuitOnLastWindowClosed ( bool quit )

See also quit() and QWidget::close().




Powered by phpwind v8.7 Code ©2003-2011 phpwind
Time 0.044260 second(s),query:5 Gzip enabled