зеркало из https://github.com/mozilla/gecko-dev.git
Removing extra release happening on a service. NS_WITH_SERVICE() will
take care of this release.
This commit is contained in:
Родитель
155eeb4401
Коммит
45efd8fe95
|
@ -290,13 +290,11 @@ main(int argc, char* argv[])
|
|||
#endif
|
||||
}
|
||||
|
||||
PRTime endTime;
|
||||
endTime = PR_Now();
|
||||
PRTime endTime;
|
||||
endTime = PR_Now();
|
||||
printf("Elapsed time: %ld\n", (PRInt32)(endTime/1000UL-gElapsedTime/1000UL));
|
||||
|
||||
sts->Shutdown();
|
||||
NS_RELEASE(sts);
|
||||
NS_RELEASE(eventQService);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -186,7 +186,7 @@ main(int argc, char* argv[])
|
|||
}
|
||||
|
||||
sts->Shutdown();
|
||||
NS_RELEASE(sts);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -671,7 +671,5 @@ main(int argc, char* argv[])
|
|||
|
||||
// printf("Elapsed time: %ld\n", (PRInt32)(endTime/1000UL - gElapsedTime/1000UL));
|
||||
|
||||
NS_RELEASE(eventQService);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче