Adds MOZ_NO_REMOTE env var support to windows build. Setting this allows you to debug while another build is running. r=darin, sr=alec, a=asa, bug 131805
git-svn-id: svn://10.0.0.236/trunk@117894 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -939,6 +939,12 @@ nsNativeAppSupportWin::Start( PRBool *aResult ) {
|
||||
NS_ENSURE_ARG( aResult );
|
||||
NS_ENSURE_TRUE( mInstance == 0, NS_ERROR_NOT_INITIALIZED );
|
||||
|
||||
if (getenv("MOZ_NO_REMOTE"))
|
||||
{
|
||||
*aResult = PR_TRUE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
*aResult = PR_FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user