Skip to content

Commit cb37299

Browse files
committed
Fix versioning and resolve build issues
1 parent dba62ae commit cb37299

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android/app/src/main/java/com/masterdns/vpn/service/MasterDnsVpnService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ private suspend fun handleHttpProxyClient(client: java.net.Socket, username: Str
635635
val upOut = upstream.getOutputStream()
636636
val buffer = ByteArray(8192)
637637

638-
launch(Dispatchers.IO) {
638+
serviceScope.launch(Dispatchers.IO) {
639639
try {
640640
while (!client.isClosed && !upstream.isClosed) {
641641
val r = clientIn.read(buffer)
@@ -646,7 +646,7 @@ private suspend fun handleHttpProxyClient(client: java.net.Socket, username: Str
646646
} catch (_: Exception) {}
647647
}
648648

649-
launch(Dispatchers.IO) {
649+
serviceScope.launch(Dispatchers.IO) {
650650
try {
651651
while (!client.isClosed && !upstream.isClosed) {
652652
val r = upIn.read(buffer)

0 commit comments

Comments
 (0)