[Bbs2ch-cvs 331] [313] Gecko 1. 9 では b2rServer をカレントスレッドで動かすようにした。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 1月 17日 (木) 19:25:42 JST


Revision: 313
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=313
Author:   flyson
Date:     2008-01-17 19:25:41 +0900 (Thu, 17 Jan 2008)

Log Message:
-----------
Gecko 1.9 では b2rServer をカレントスレッドで動かすようにした。

Modified Paths:
--------------
    trunk/bbs2chreader/components/b2rServer.js


-------------- next part --------------
Modified: trunk/bbs2chreader/components/b2rServer.js
===================================================================
--- trunk/bbs2chreader/components/b2rServer.js	2008-01-12 19:54:11 UTC (rev 312)
+++ trunk/bbs2chreader/components/b2rServer.js	2008-01-17 10:25:41 UTC (rev 313)
@@ -273,7 +273,8 @@
 		}
 
 		if(!this._thread){
-			this._thread = Cc["@mozilla.org/thread-manager;1"].getService().newThread(0);
+			// this._thread = Cc["@mozilla.org/thread-manager;1"].getService().newThread(0);
+			this._thread = Cc["@mozilla.org/thread-manager;1"].getService().currentThread;
 		}
 		this._thread.dispatch(this, this._thread.DISPATCH_NORMAL);
 		dump("b2rServer_GECKO_1_9.start\n");


bbs2ch-cvs メーリングリストの案内
Back to archive index