Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ onStop
Method
onStop
subscriber.go:430–438 ·
view source on GitHub ↗
(reason *zapcore.Field)
Source
from the content-addressed store, hash-verified
428
}
429
430
func
(s *Subscriber) onStop(reason *zapcore.Field) {
431
s.StopPlay()
432
if
!s.Stream.IsClosed() {
433
s.Stop(*reason)
434
if
s.Config.Internal {
435
s.Stream.Receive(s.Spesific)
436
}
437
}
438
}
Callers
1
PlayBlock
Method · 0.95
Calls
4
StopPlay
Method · 0.80
IsClosed
Method · 0.65
Stop
Method · 0.65
Receive
Method · 0.65
Tested by
no test coverage detected