Closed coreanq closed 8 years ago
I open the serial port following order "com12" -> "com13" -> "com12", Error message pops up. because the serial port is already open. so I think whenever SerialFirmata::setDevice invocked, it need to close the port previously opened.
Looks like I had used the wrong smart pointer class which lead to a resource leak. This is now fixed.
I open the serial port following order "com12" -> "com13" -> "com12", Error message pops up. because the serial port is already open. so I think whenever SerialFirmata::setDevice invocked, it need to close the port previously opened.