MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / Shutdown

Method Shutdown

ui/runtime.go:506–513  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

504 }
505 r.Dirty = false
506 r.LastFlushAt = time.Now()
507}
508
509func (r *UiRuntime) FlushIfDue() {
510 if !r.Dirty {
511 return
512 }
513 if r.LastFlushAt.IsZero() || time.Since(r.LastFlushAt) >= r.FrameInterval {
514 r.Flush(true)
515 }
516}

Callers 1

runREPLFunction · 0.95

Calls 2

FlushMethod · 0.95
ShutdownMethod · 0.65

Tested by

no test coverage detected