Project

General

Profile

Bug #1895

[Windows] Pressing Alt+F4 during engine startup causes Dday to crash

Added by vermil over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Defect
Target version:
Start date:
2014-11-06
% Done:

100%


Description

Pretty much what the subject states.

If one presses Alt+F4 during gameplay, the game's quit dialog comes up (I assume deliberate)
If Alt+F4 is pressed during Map loading, the games quit dialog comes up upon map loading completing.
If one presses Alt+F4 on Ring Zero, Dday immediately closes with no confirmation (is a confirmation possible in this case?).

But if one presses Alt+F4 during engine start up, Dday freezes and crashes a few seconds later.

Associated revisions

Revision abca343e (diff)
Added by skyjake over 9 years ago

Fixed|Client|Windows: Potential crash if closing window during startup

When game resources are being located, games become current for short
periods of time (kludge in Games::locateStartupResources()). If a
"quit" command happened to be executed at this time, a crash could
occur in the console command execution, presumably if the game suddenly
was removed in another thread.

As a workaround, closing the window is disallowed during busy mode.

IssueID #1895

History

#1 Updated by skyjake over 9 years ago

  • Tags set to Windows, WindowManager
  • Category set to Defect
  • Assignee set to skyjake

#2 Updated by skyjake over 9 years ago

  • Status changed from New to Closed
  • Target version set to 1.15
  • % Done changed from 0 to 100

Also available in: Atom PDF