mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-02 16:04:10 +00:00
remove unused func
This commit is contained in:
@@ -220,11 +220,7 @@ typealias Task = (_ cancel : Bool) -> Void
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func synchronized(lock: AnyObject, closure: () -> ()) {
|
|
||||||
objc_sync_enter(lock)
|
|
||||||
closure()
|
|
||||||
objc_sync_exit(lock)
|
|
||||||
}
|
|
||||||
func cancel(_ task: Task?) {
|
func cancel(_ task: Task?) {
|
||||||
task?(true)
|
task?(true)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user