fergot whati changed
This commit is contained in:
@ -339,11 +339,11 @@ class GoodSoftware (private val activity: MainActivity) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
}
|
||||
|
||||
fun disconnect(connectionResult: ConnectionResult) {
|
||||
val (socket, reader, writer, _, _, _) = connectionResult
|
||||
try {
|
||||
writer.println("END_OF_COMMUNICATION")
|
||||
println("Disconnect")
|
||||
writer.close()
|
||||
reader.close()
|
||||
socket.close()
|
||||
|
Reference in New Issue
Block a user