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)
|
, broadcastTime(1.0f, 0.0f)
|
||||||
{ }
|
{ }
|
||||||
~PrivateData()
|
~PrivateData()
|
||||||
{ }
|
{
|
||||||
|
if(listener)
|
||||||
|
{
|
||||||
|
delete listener;
|
||||||
|
listener = NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool DoWork();
|
bool DoWork();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue