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

Binary file not shown.

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() {