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