@@ -52,6 +52,8 @@ export default function (Module) {
5252 if ( ! _POOL_DEBOUNCES [ table_id ] ) {
5353 _POOL_DEBOUNCES [ table_id ] = pool ;
5454 setTimeout ( ( ) => _call_process ( table_id ) ) ;
55+ } else {
56+ pool . delete ( ) ;
5557 }
5658 }
5759
@@ -64,6 +66,7 @@ export default function (Module) {
6466 }
6567
6668 function _remove_process ( table_id ) {
69+ _POOL_DEBOUNCES [ table_id ] ?. delete ( ) ;
6770 delete _POOL_DEBOUNCES [ table_id ] ;
6871 }
6972
@@ -142,6 +145,7 @@ export default function (Module) {
142145 _set_process ( pool , table_id ) ;
143146 } else {
144147 pool . _process ( ) ;
148+ pool . delete ( ) ;
145149 }
146150
147151 return _Table ;
@@ -1302,8 +1306,12 @@ export default function (Module) {
13021306 */
13031307 function table ( _Table , index , limit , overridden_types ) {
13041308 this . _Table = _Table ;
1305- this . gnode_id = this . _Table . get_gnode ( ) . get_id ( ) ;
1306- this . _Table . get_pool ( ) . set_update_delegate ( this ) ;
1309+ const gnode = this . _Table . get_gnode ( ) ;
1310+ this . gnode_id = gnode . get_id ( ) ;
1311+ gnode . delete ( ) ;
1312+ const pool = this . _Table . get_pool ( ) ;
1313+ pool . set_update_delegate ( this ) ;
1314+ pool . delete ( ) ;
13071315 this . name = Math . random ( ) + "" ;
13081316 this . initialized = false ;
13091317 this . index = index ;
@@ -1984,7 +1992,7 @@ export default function (Module) {
19841992 is_arrow ,
19851993 is_csv ,
19861994 options . port_id
1987- ) ;
1995+ ) . delete ( ) ;
19881996 this . initialized = true ;
19891997 } catch ( e ) {
19901998 console . error ( `Update failed: ${ e } ` ) ;
@@ -2043,7 +2051,7 @@ export default function (Module) {
20432051 is_arrow ,
20442052 false ,
20452053 options . port_id
2046- ) ;
2054+ ) . delete ( ) ;
20472055 this . initialized = true ;
20482056 } catch ( e ) {
20492057 console . error ( `Remove failed` , e ) ;
0 commit comments