remove debug code

This commit is contained in:
2023-05-18 18:42:12 +08:00
parent d86ca51672
commit a1281e544d
2 changed files with 0 additions and 2 deletions
BIN
View File
Binary file not shown.
-2
View File
@@ -5,7 +5,6 @@ import (
"b612.me/stardb"
"b612.me/startimer"
"errors"
"fmt"
"sync"
"time"
)
@@ -130,7 +129,6 @@ func (r *Remind) AddTask(taskStr, key string, msg []byte) (Task, error) {
r.mu.Lock()
r.tasks[rmt.ID] = rmt
r.mu.Unlock()
fmt.Println(tmr.ExportRepeats())
err = rmt.timer.Run()
time.Sleep(time.Microsecond * 100)
if err != nil || !rmt.timer.IsRunning() {