mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Fix bug 148458, crash on multiple startups
This commit is contained in:
parent
b46aecdd1f
commit
66df4f4400
@ -302,6 +302,13 @@ CmdLineDdeCallBack(UINT type, UINT fmt,
|
||||
case XTYP_EXECUTE: {
|
||||
// We are the server.
|
||||
// A client said XTYP_EXECUTE in DdeClientTransaction
|
||||
|
||||
// If we are currently not fully initialized, we must ignore
|
||||
// the request, but acknowledge it nonetheless.
|
||||
if(theApp.m_bInInitInstance) {
|
||||
return (HDDEDATA)DDE_FACK;
|
||||
}
|
||||
|
||||
HDDEDATA& hDataExecute = hData;
|
||||
char *pData = (char *)DdeAccessData(hDataExecute, NULL);
|
||||
char szCmd[_MAX_PATH+12];
|
||||
|
Loading…
Reference in New Issue
Block a user