close device on error

This commit is contained in:
john30
2018-04-15 08:37:34 +02:00
parent caa0da2a5e
commit 4013ecd14c
2 changed files with 23 additions and 5 deletions
+2
View File
@@ -260,6 +260,8 @@ class NetworkDevice : public Device {
// @copydoc
result_t open() override;
// @copydoc
void close() override;
protected:
// @copydoc