Fix infinite loop in exit routine

This commit is contained in:
Jason A. Donenfeld
2018-05-05 05:33:29 +02:00
parent 34891d92cd
commit 09a9bc2899
2 changed files with 6 additions and 3 deletions

View File

@@ -281,9 +281,10 @@ func (device *Device) RoutineEncryption() {
elem.Drop()
}
default:
break
goto out
}
}
out:
logDebug.Println("Routine: encryption worker - stopped")
}()