lifeemotions / knx.net

KNX.net provides a KNX API for .NET
MIT License
101 stars 47 forks source link

Check if connection is established before performing a locked operation. #47

Open SystemKeeper opened 5 years ago

SystemKeeper commented 5 years ago

Without this check a call to PerformLockedOperation waits indefinitely to aquire a lock if the connection isn't available. See #43

Not sure if InvalidOperationException is ok here or if we should introduce a lib specific exception?!