- Timestamp:
- Jul 11, 2010, 1:31:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp
r66 r67 9 9 std::cout << "Instantiated server class# "<< activeENetInstances << std::endl; 10 10 serverInitialized = false; 11 host = NULL; 11 12 // Start ENet 12 13 if (activeENetInstances++ == 0) … … 25 26 dataIO_clusterENet_implementation::~dataIO_clusterENet_implementation() 26 27 { 27 // Delete Host Object 28 enet_host_destroy(host); 28 // Delete Host Object if instantiated 29 if(host) 30 enet_host_destroy(host); 29 31 30 32 // Stop ENet if it is the last element.
Note: See TracChangeset
for help on using the changeset viewer.