• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

Revision557b10ca546bfdf49ba115d8857e5554a812f9e1 (tree)
Time2014-02-26 09:49:49
AuthorMichiro Hibari <l05102@shib...>
CommiterMichiro Hibari

Log Message

Fix ticket #33102 (fix memory reak).

Change Summary

Incremental Difference

--- a/l7vsd/src/l7vsd.cpp
+++ b/l7vsd/src/l7vsd.cpp
@@ -793,14 +793,14 @@ void l7vsd::flush_virtual_service(error_code &err)
793793
794794 // vs stop
795795 (*itr)->stop();
796+ // join virtualservice threads
797+ (*itr)->vs_thread_ptr->join();
798+ vs_threads.remove_thread((*itr)->vs_thread_ptr.get());
796799 // vs finalize
797800 (*itr)->finalize(err);
798801 }
799802 }
800803
801- // join virtualservice threads
802- vs_threads.join_all();
803-
804804 // replication switch to slave
805805 rep->switch_to_slave();
806806 }