diff --git a/interface/src/SerialInterface.cpp b/interface/src/SerialInterface.cpp index 3453321d26..8929dbb2f5 100644 --- a/interface/src/SerialInterface.cpp +++ b/interface/src/SerialInterface.cpp @@ -33,12 +33,6 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to const bool USING_INVENSENSE_MPU9150 = 1; -SerialInterface::~SerialInterface() { -#ifdef __APPLE__ - close(_serialDescriptor); -#endif -} - void SerialInterface::pair() { #ifdef __APPLE__ diff --git a/interface/src/SerialInterface.h b/interface/src/SerialInterface.h index 4aafb46994..e84fa2ddde 100644 --- a/interface/src/SerialInterface.h +++ b/interface/src/SerialInterface.h @@ -38,7 +38,6 @@ class SerialInterface { public: SerialInterface() : active(false), _failedOpenAttempts(0) {} - ~SerialInterface(); void pair(); void readData();