This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Only join threads if they were made in the first place
pull/6/head
RogueException
9 years ago
parent
a580f371c4
commit
f25d35150d
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs
+ 4
- 2
src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs
View File
@@ -167,8 +167,10 @@ namespace Discord.WebSockets.Voice
protected override Task Cleanup()
{
#if USE_THREAD
_sendThread.Join();
_receiveThread.Join();
if (_sendThread != null)
_sendThread.Join();
if (_receiveThread != null)
_receiveThread.Join();
_sendThread = null;
_receiveThread = null;
#endif
Write
Preview
Loading…
Cancel
Save