Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
AndroidUtils
VPNTunnelProxy
Commits
e327d672
Commit
e327d672
authored
Sep 13, 2020
by
Daniel Wolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finalizeCleanup() is never called on the main thread
parent
8e145cd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
library/src/main/java/com/frostnerd/vpntunnelproxy/VPNTunnelProxy.kt
.../main/java/com/frostnerd/vpntunnelproxy/VPNTunnelProxy.kt
+1
-5
No files found.
library/src/main/java/com/frostnerd/vpntunnelproxy/VPNTunnelProxy.kt
View file @
e327d672
...
...
@@ -271,11 +271,7 @@ open class VPNTunnelProxy(val packetProxy: PacketProxy,
fileDescriptor
.
tryClosing
()
}
pipesToClose
.
clear
()
if
(
Looper
.
getMainLooper
().
thread
==
Thread
.
currentThread
())
{
GlobalScope
.
launch
{
forwardedPacketStore
?.
clear
()
}
}
else
forwardedPacketStore
?.
clear
()
forwardedPacketStore
?.
clear
()
tunnelHandle
?.
clear
(
false
)
forwardedPacketStore
=
null
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment