@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.
@@ -5653,7 +5653,6 @@ function mt_writing$1(gobj, path) {}
5653
5653
  * Framework Method: Start
5654
5654
  ***************************************************************/
5655
5655
  function mt_start$1(gobj) {
5656
- gobj_start(gobj.priv.gobj_timer);
5657
5656
  set_timeout_periodic(gobj.priv.gobj_timer, gobj.priv.periodic_timeout);
5658
5657
  return 0;
5659
5658
  }
@@ -5661,7 +5660,7 @@ function mt_start$1(gobj) {
5661
5660
  * Framework Method: Stop
5662
5661
  ***************************************************************/
5663
5662
  function mt_stop$1(gobj) {
5664
- gobj_stop(gobj.priv.gobj_timer);
5663
+ clear_timeout(gobj.priv.gobj_timer);
5665
5664
  gobj_stop_children(gobj);
5666
5665
  return 0;
5667
5666
  }
@@ -5833,7 +5832,6 @@ function mt_writing(gobj, path) {
5833
5832
  ***************************************************************/
5834
5833
  function mt_start(gobj) {
5835
5834
  let priv = gobj.priv;
5836
- gobj_start(priv.gobj_timer);
5837
5835
  priv.retry_ms = 0;
5838
5836
  priv.websocket = setup_websocket(gobj);
5839
5837
  return 0;
@@ -5844,7 +5842,6 @@ function mt_start(gobj) {
5844
5842
  function mt_stop(gobj) {
5845
5843
  let priv = gobj.priv;
5846
5844
  clear_timeout(priv.gobj_timer);
5847
- gobj_stop(priv.gobj_timer);
5848
5845
  if (priv.websocket) close_websocket(gobj);
5849
5846
  return 0;
5850
5847
  }