remove debug code

master
兔子 2 years ago
parent d86ca51672
commit a1281e544d

Binary file not shown.

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

Loading…
Cancel
Save