チェンジセット 2139

差分発生行の前後
無視リスト:
コミット日時:
2009/01/14 20:54:00 (3 年前)
コミッタ:
uwi
ログメッセージ:

Threadを継承しているクラスに対してメンバのファイナライザを記述

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • air/TLife/src/uwi/db/DBOpenThread.as

    r1885 r2139  
    1717                public function DBOpenThread(path : File) { 
    1818                        this.path = path; 
     19                } 
     20                 
     21                protected override function finalize() : void 
     22                { 
     23                        path = null; 
     24                        conn = null; 
    1925                } 
    2026                 
  • air/TLife/src/uwi/db/DBSelectThread.as

    r1885 r2139  
    2424                } 
    2525                 
     26                protected override function finalize() : void 
     27                { 
     28                        stmt = null; 
     29                        result = null; 
     30                } 
     31                 
    2632                protected override function run() : void 
    2733                { 
  • air/TLife/src/uwi/db/DBTransactionThread.as

    r1885 r2139  
    1515                } 
    1616                 
     17                protected override function finalize() : void 
     18                { 
     19                        conn = null; 
     20                } 
     21                 
    1722                protected override function run() : void 
    1823                { 
     
    2833                 
    2934                protected function execute() : void { } 
     35                 
    3036        } 
    3137         
  • air/TLife/src/uwi/db/SimpleTransactionThread.as

    r2137 r2139  
    2222                }  
    2323                 
     24                protected override function finalize() : void 
     25                { 
     26                        basetext = null; 
     27                        args = null; 
     28                } 
     29                 
    2430                protected override function execute() : void 
    2531                { 
     
    3945                        } 
    4046                } 
     47                 
    4148        } 
    4249         
  • air/TLife/src/uwi/search/IncrementalSearchThread.as

    r1957 r2139  
    3131                        this.timeoutmanager = new Timer(timeout); 
    3232                }  
     33                 
     34                protected override function finalize() : void 
     35                { 
     36                        dobj = null; 
     37                        query = null; 
     38                        timeoutmanager = null; 
     39                } 
    3340                 
    3441                protected override function run() : void  
  • air/TLife/src/uwi/thread/ContextMenuItemEventThread.as

    r2137 r2139  
    2626         * ... 
    2727         * @author Uwi 
    28          * TODO singletonにしたい 
    2928         */ 
    3029        public class ContextMenuItemEventThread extends Thread  
     
    8382                        tabbar.contextMenu = tbcm; 
    8483                } 
     84                 
     85                protected override function finalize() : void 
     86                { 
     87                        item_reply = null; 
     88                        item_dm = null; 
     89                        item_fav = null; 
     90                        item_favdel = null; 
     91                        item_follow = null; 
     92                        item_remove = null; 
     93                        item_personalTL = null; 
     94                        item_pairTL = null; 
     95                        item_duptab = null; 
     96                        item_deltab = null; 
     97                        item_rentab = null; 
     98                } 
     99                 
    85100                 
    86101                protected override function run() : void  
     
    328343                        PostEventThread.changeCharLeft(); 
    329344                } 
    330                  
    331345        } 
    332346         
  • air/TLife/src/uwi/thread/DataGridEventThread.as

    r2137 r2139  
    4343                        tlbgcct.start(); 
    4444                }  
     45                 
     46                protected override function finalize() : void 
     47                { 
     48                        tlbgcct = null; 
     49                        topobj = null; 
     50                } 
    4551                 
    4652                protected override function run() : void  
  • air/TLife/src/uwi/thread/LinkResolveThread.as

    r1968 r2139  
    2222                { 
    2323                        this.src = src; 
     24                } 
     25                 
     26                protected override function finalize() : void 
     27                { 
     28                        src = null; 
     29                        dst = null; 
     30                        pe = null; 
    2431                } 
    2532                 
  • air/TLife/src/uwi/thread/StatusInsertThread.as

    r2135 r2139  
    3131                                return x.postedtime.getTime() - y.postedtime.getTime(); 
    3232                        }); 
     33                } 
     34                 
     35                protected override function finalize() : void 
     36                { 
     37                        statuses = null; 
    3338                } 
    3439                 
     
    7984                        trace("INSERTEND"); 
    8085                } 
    81                  
    8286        } 
    8387         
  • air/TLife/src/uwi/thread/TimelineThread.as

    r2137 r2139  
    2828                        this.prefetch = prefetch; 
    2929                        this.query = query; 
     30                } 
     31                 
     32                protected override function finalize() : void 
     33                { 
     34                        query = null; 
     35                        dbst = null; 
    3036                } 
    3137                 
     
    131137                        } 
    132138                } 
    133                  
    134139        } 
    135140         
  • air/TLife/src/uwi/thread/TinyURLDecodeThread.as

    r1873 r2139  
    1616                public function TinyURLDecodeThread(url : String) { 
    1717                        this.url = url; 
     18                } 
     19                 
     20                protected override function finalize() : void 
     21                { 
     22                        url = null; 
     23                        decoded = null; 
    1824                } 
    1925                 
  • air/TLife/src/uwi/thread/TinyURLEncodeThread.as

    r1873 r2139  
    1616                public function TinyURLEncodeThread(url : String) { 
    1717                        this.url = url; 
     18                } 
     19                 
     20                protected override function finalize() : void 
     21                { 
     22                        url = null; 
     23                        encoded = null; 
     24                        ult = null; 
    1825                } 
    1926                 
     
    3946                        this.encoded = ult.loader.data; 
    4047                } 
    41                  
    4248        } 
    4349         
  • air/TLife/src/uwi/twitter/TwitterFollowingGetThread.as

    r1957 r2139  
    2727                } 
    2828                 
     29                protected override function finalize() : void 
     30                { 
     31                        ults = null; 
     32                        ud = null; 
     33                } 
     34                 
    2935                private function getCompleted() : void 
    3036                { 
  • air/TLife/src/uwi/twitter/TwitterLoginThread.as

    r1957 r2139  
    1919                        this.username = username; 
    2020                        this.password = password; 
     21                } 
     22                 
     23                protected override function finalize() : void 
     24                { 
     25                        username = null; 
     26                        password = null; 
    2127                } 
    2228                 
  • air/TLife/src/uwi/twitter/TwitterPostThread.as

    r2134 r2139  
    2020                        this.eventname = eventname; 
    2121                }  
     22                 
     23                protected override function finalize() : void 
     24                { 
     25                        eventname = null; 
     26                } 
    2227                 
    2328                protected override function run() : void  
  • air/TLife/src/uwi/twitter/TwitterReloadThread.as

    r2137 r2139  
    3939                        this.pageend = pageend; 
    4040                        this.posterid = posterid; 
     41                } 
     42                 
     43                protected override function finalize() : void 
     44                { 
     45                        ults = null; 
     46                        pe = null; 
     47                        mp = null; 
     48                        posterid = null; 
     49                        pelrt = null; 
     50                        statuses = null; 
    4151                } 
    4252                 
     
    126136                        sit.join(); 
    127137                } 
    128                  
    129138        } 
    130139         
  • air/TLife/src/uwi/ui/MultipleTabBarEventThread.as

    r2109 r2139  
    2121                        this.mtb = mtb; 
    2222                }  
     23                 
     24                protected override function finalize() : void 
     25                { 
     26                        mtb = null; 
     27                } 
    2328                 
    2429                protected override function run() : void  
  • air/TLife/src/uwi/ui/TabPropertyDataGridEventThread.as

    r2124 r2139  
    2121                }  
    2222                 
     23                protected override function finalize() : void 
     24                { 
     25                        dg = null; 
     26                        tp = null; 
     27                } 
     28                 
    2329                protected override function run() : void  
    2430                {  
  • air/TLife/src/uwi/ui/TabPropertyTabListEventThread.as

    r2124 r2139  
    2424                        this.tp = tp; 
    2525                }  
     26                 
     27                protected override function finalize() : void 
     28                { 
     29                        tablist = null; 
     30                        tp = null; 
     31                } 
    2632                 
    2733                protected override function run() : void