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
Clear caches on manual disconnect
pull/2/head
Brandon Smith
9 years ago
parent
070121c9dc
commit
20a13df28b
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
Discord.Net/DiscordClient.cs
+ 6
- 0
Discord.Net/DiscordClient.cs
View File
@@ -407,6 +407,12 @@ namespace Discord
_isClosing = true;
await _webSocket.DisconnectAsync();
_isClosing = false;
_channels.Clear();
_messages.Clear();
_roles.Clear();
_servers.Clear();
_users.Clear();
}
//Servers
Write
Preview
Loading…
Cancel
Save