Commit 31cbe581 authored by Mygod's avatar Mygod

Mark underlyingNetwork as volatile

Attempts at addressing #2667.
parent 8ce6bd67
......@@ -108,6 +108,7 @@ class VpnService : BaseVpnService(), BaseService.Interface {
private var worker: ProtectWorker? = null
private var active = false
private var metered = false
@Volatile
private var underlyingNetwork: Network? = null
set(value) {
field = value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment