@yuneta/gobj-js 7.9.10 → 7.9.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5654,7 +5654,6 @@ function mt_writing$1(gobj, path) {}
5654
5654
  * Framework Method: Start
5655
5655
  ***************************************************************/
5656
5656
  function mt_start$1(gobj) {
5657
- gobj_start(gobj.priv.gobj_timer);
5658
5657
  set_timeout_periodic(gobj.priv.gobj_timer, gobj.priv.periodic_timeout);
5659
5658
  return 0;
5660
5659
  }
@@ -5662,7 +5661,7 @@ function mt_start$1(gobj) {
5662
5661
  * Framework Method: Stop
5663
5662
  ***************************************************************/
5664
5663
  function mt_stop$1(gobj) {
5665
- gobj_stop(gobj.priv.gobj_timer);
5664
+ clear_timeout(gobj.priv.gobj_timer);
5666
5665
  gobj_stop_children(gobj);
5667
5666
  return 0;
5668
5667
  }
@@ -5834,7 +5833,6 @@ function mt_writing(gobj, path) {
5834
5833
  ***************************************************************/
5835
5834
  function mt_start(gobj) {
5836
5835
  let priv = gobj.priv;
5837
- gobj_start(priv.gobj_timer);
5838
5836
  priv.retry_ms = 0;
5839
5837
  priv.websocket = setup_websocket(gobj);
5840
5838
  return 0;
@@ -5845,7 +5843,6 @@ function mt_start(gobj) {
5845
5843
  function mt_stop(gobj) {
5846
5844
  let priv = gobj.priv;
5847
5845
  clear_timeout(priv.gobj_timer);
5848
- gobj_stop(priv.gobj_timer);
5849
5846
  if (priv.websocket) close_websocket(gobj);
5850
5847
  return 0;
5851
5848
  }