Skip to content

Commit

Permalink
refactor: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Feb 4, 2025
1 parent 34e23f5 commit d245e2f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
package util

import (
"log"
"runtime"
"time"

"github.com/tochemey/goakt/v2/internal/types"
Expand All @@ -41,10 +39,3 @@ func Pause(duration time.Duration) {
<-stopCh
timer.Stop()
}

// Debug is used this to detect if a goroutine is stuck
func Debug() {
buf := make([]byte, 1<<20)
runtime.Stack(buf, true)
log.Printf("%s", buf)
}

0 comments on commit d245e2f

Please sign in to comment.