镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 22:46:47 +00:00
[bug fix] provider is not terminated if premature stop command received
这个提交包含在:
@@ -142,7 +142,7 @@ func (p *baseProvider) closeLogFile() (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (p *baseProvider) Run() error {
|
||||
func (p *baseProvider) Run(started chan empty) error {
|
||||
panic("Not Implemented")
|
||||
}
|
||||
|
||||
@@ -169,6 +169,7 @@ func (p *baseProvider) Terminate() error {
|
||||
defer p.Unlock()
|
||||
logger.Debugf("terminating provider: %s", p.Name())
|
||||
if !p.IsRunning() {
|
||||
logger.Warningf("Terminate() called while IsRunning is false: %s", p.Name())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户