mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.Web: fixed bug causing crash when calling Socket::Clear on a picked socket.
git-svn-id: svn://ultimatepp.org/upp/trunk@3253 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
db7f23e166
commit
6adfb0a1bc
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ public:
|
|||
static void Init();
|
||||
|
||||
void Attach(One<Data> d) { data = d; data->sock = this; }
|
||||
void Clear() { data->sock = NULL; data.Clear(); }
|
||||
void Clear() { if(!data.IsPicked() && data) data->sock = NULL; data.Clear(); }
|
||||
|
||||
bool IsOpen() const { return data && data->IsOpen(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue