Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Jun 17, 2024
1 parent 407aa85 commit 46a5963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime_looping_frame.go → runtime_looping_realtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"
)

func (rt *RuntimeBehavior) loopingWithFrame() {
func (rt *RuntimeBehavior) loopingRealTime() {
gcTicker := time.NewTicker(rt.opts.GCInterval)
defer gcTicker.Stop()

Expand Down
2 changes: 1 addition & 1 deletion runtime_running.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (rt *RuntimeBehavior) mainLoop() {
if frame == nil {
rt.loopingNoFrame()
} else {
rt.loopingWithFrame()
rt.loopingRealTime()
}
}

Expand Down

0 comments on commit 46a5963

Please sign in to comment.