mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 17:53:39 +02:00
Added mutex to deleteProperty
This commit is contained in:
parent
1694634e3c
commit
3be0a028c6
@ -989,8 +989,14 @@ public class DConnection : Thread
|
|||||||
*/
|
*/
|
||||||
public void deleteProperty(string propertyName)
|
public void deleteProperty(string propertyName)
|
||||||
{
|
{
|
||||||
/* TODO: Implement me */
|
/* Lock the properties store */
|
||||||
|
propertiesLock.lock();
|
||||||
|
|
||||||
|
/* Remove the property */
|
||||||
properties.remove(propertyName);
|
properties.remove(propertyName);
|
||||||
|
|
||||||
|
/* Unlock the properties store */
|
||||||
|
propertiesLock.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConnectionType getConnectionType()
|
public ConnectionType getConnectionType()
|
||||||
|
Loading…
Reference in New Issue
Block a user