Stop the timer when all callbacks removed

This commit is contained in:
Max Lv
2015-11-21 18:26:14 +08:00
parent 6e974da8ca
commit 656bb28a11
7 changed files with 52 additions and 52 deletions
@@ -429,17 +429,6 @@ class ShadowsocksNatService extends Service with BaseService {
Console.runRootCommand(http_sb.toArray)
}
override def clearChildProcessStream() {
try {
sslocalProcess.getInputStream.skip(65535)
sstunnelProcess.getInputStream.skip(65535)
pdnsdProcess.getInputStream.skip(65535)
redsocksProcess.getInputStream.skip(65535)
} catch {
case ex: Exception => // Ignore
}
}
override def startRunner(config: Config) {
super.startRunner(config)