mirror of https://bitbucket.org/ausocean/av.git
Added method to check if revid is running
This commit is contained in:
parent
952554dbb4
commit
4fbb7d8251
|
@ -171,6 +171,10 @@ func (r *revidInst) ErrOut(m string){
|
|||
r.config.Logger.Log("Debug",m)
|
||||
}
|
||||
|
||||
func (r *revidInst)IsRunning() bool {
|
||||
return r.isRunning
|
||||
}
|
||||
|
||||
func (r *revidInst) Start() {
|
||||
if r.isRunning {
|
||||
r.ErrOut("Start() has been called but revid already running!")
|
||||
|
|
Loading…
Reference in New Issue