チェンジセット 2772
- コミット日時:
- 2009/06/02 15:09:02 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
air/AirDao/src/com/seacolorswind/dbi/Queue.as
r2753 r2772 105 105 protected function runQueue(e:Event = null):void { 106 106 logger.debug("runQueue({0})", arguments); 107 if (_waitingQueues.length >0) {107 if (_waitingQueues.length != 0) { 108 108 currentQueue = _waitingQueues.shift(); 109 109 … … 118 118 } 119 119 } 120 121 protected var currentQueue:Thread; 120 /** 121 * 現在実行中のキューです。 122 */ 123 public var currentQueue:Thread; 122 124 /** 123 125 * 全てのキューを実行した後に呼び出されるメソッドです。 … … 125 127 protected function destory(e:Event = null):void { 126 128 next(run); 127 wait();129 if (!_waitingQueues.length) wait(); 128 130 } 129 131 /** … … 144 146 logger.debug("errorHandler({0})", arguments); 145 147 if (_resource.connector.inTransaction) _resource.connector.rollback(); 146 throw e; 148 //throw e; 149 destory(); 147 150 } 148 151 }

