fixes in shared memory:
only allow server to create and initialize shared memory, client will report failure intercept signals to cleanup shared memory in standalone app, thanks to Roland Philippsen.
This commit is contained in:
@@ -15,7 +15,9 @@ public:
|
||||
virtual ~PhysicsClientSharedMemory();
|
||||
|
||||
//return true if connection succesfull, can also check 'isConnected'
|
||||
virtual bool connect(bool allowSharedMemoryInitialization = true);
|
||||
virtual bool connect();
|
||||
|
||||
virtual void disconnectSharedMemory ();
|
||||
|
||||
virtual bool isConnected() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user