зеркало из https://github.com/mozilla/gecko-dev.git
bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt
This commit is contained in:
Родитель
ce11fdb504
Коммит
9815f3c616
|
@ -263,6 +263,7 @@ nsThread::Init(nsIRunnable* runnable,
|
||||||
PRThreadScope scope,
|
PRThreadScope scope,
|
||||||
PRThreadState state)
|
PRThreadState state)
|
||||||
{
|
{
|
||||||
|
NS_ENSURE_ARG_POINTER(runnable);
|
||||||
mRunnable = runnable;
|
mRunnable = runnable;
|
||||||
|
|
||||||
NS_ADDREF_THIS(); // released in nsThread::Exit
|
NS_ADDREF_THIS(); // released in nsThread::Exit
|
||||||
|
|
Загрузка…
Ссылка в новой задаче