This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
shadowsocks-windows
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
67
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
add lock for Close()
tags/2.3
clowwindy
10 years ago
parent
3b2976950a
commit
1ecd7daac8
1 changed files
with
6 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-3
shadowsocks-csharp/Controller/Local.cs
+ 6
- 3
shadowsocks-csharp/Controller/Local.cs
View File
@@ -144,11 +144,14 @@ namespace Shadowsocks.Controller
public void Close()
public void Close()
{
{
if (c
los
ed
)
lo
ck (thi
s)
{
{
return;
if (closed)
{
return;
}
closed = true;
}
}
closed = true;
if (connection != null)
if (connection != null)
{
{
try
try
Write
Preview
Loading…
Cancel
Save