tufang14
Committed by winlin

seg fault

seg fault
@@ -210,11 +210,11 @@ failed: @@ -210,11 +210,11 @@ failed:
210 } 210 }
211 } 211 }
212 212
213 - handler->on_thread_stop();  
214 - srs_info("thread %s cycle finished", _name);  
215 -  
216 // readly terminated now. 213 // readly terminated now.
217 really_terminated = true; 214 really_terminated = true;
  215 +
  216 + handler->on_thread_stop();
  217 + srs_info("thread %s cycle finished", _name);
218 } 218 }
219 219
220 void* SrsThread::thread_fun(void* arg) 220 void* SrsThread::thread_fun(void* arg)