bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt

This commit is contained in:
bsmedberg%covad.net 2004-08-28 20:11:15 +00:00
Родитель ce11fdb504
Коммит 9815f3c616
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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