parent
a5e5c3d941
commit
7351fe9633
69 changed files with 141 additions and 141 deletions
|
|
@ -261,7 +261,7 @@ object BaseService {
|
|||
|
||||
fun stopRunner(restart: Boolean = false, msg: String? = null) {
|
||||
if (data.state == State.Stopping) return
|
||||
// channge the state
|
||||
// change the state
|
||||
data.changeState(State.Stopping)
|
||||
GlobalScope.launch(Dispatchers.Main.immediate) {
|
||||
data.connectingJob?.cancelAndJoin() // ensure stop connecting first
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ object Key {
|
|||
const val id = "profileId"
|
||||
const val name = "profileName"
|
||||
|
||||
const val individual = "Proxyed"
|
||||
const val individual = "Proxied"
|
||||
|
||||
const val serviceMode = "serviceMode"
|
||||
const val modeProxy = "proxy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue