Network - Fixed memory leak in NetworkServer.
This commit is contained in:
parent
0c0fde51b0
commit
3527d3acb0
|
@ -83,7 +83,13 @@ public:
|
|||
, broadcastTime(1.0f, 0.0f)
|
||||
{ }
|
||||
~PrivateData()
|
||||
{ }
|
||||
{
|
||||
if(listener)
|
||||
{
|
||||
delete listener;
|
||||
listener = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
bool DoWork();
|
||||
|
||||
|
|
Loading…
Reference in New Issue