チェンジセット 2772

差分発生行の前後
無視リスト:
コミット日時:
2009/06/02 15:09:02 (3 年前)
コミッタ:
Seacolor
ログメッセージ:

レコードの作成/更新/削除でデッドロックになってしまう問題を再修正

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • air/AirDao/src/com/seacolorswind/dbi/Queue.as

    r2753 r2772  
    105105                protected function runQueue(e:Event = null):void { 
    106106                        logger.debug("runQueue({0})", arguments); 
    107                         if (_waitingQueues.length > 0) { 
     107                        if (_waitingQueues.length != 0) { 
    108108                                currentQueue = _waitingQueues.shift(); 
    109109                                 
     
    118118                        } 
    119119                } 
    120                  
    121                 protected var currentQueue:Thread; 
     120                /** 
     121                 * 現在実行中のキューです。 
     122                 */ 
     123                public var currentQueue:Thread; 
    122124                /** 
    123125                 * 全てのキューを実行した後に呼び出されるメソッドです。 
     
    125127                protected function destory(e:Event = null):void { 
    126128                        next(run); 
    127                         wait(); 
     129                        if (!_waitingQueues.length) wait(); 
    128130                } 
    129131                /** 
     
    144146                        logger.debug("errorHandler({0})", arguments); 
    145147                        if (_resource.connector.inTransaction) _resource.connector.rollback(); 
    146                         throw e; 
     148                        //throw e; 
     149                        destory(); 
    147150                } 
    148151        }