Don't emit error in destructor of QSerialPort.
QSerialPort::~QSerialPort() calls close() which emits an error if the
port is already closed. This error signal may then call slots of
already (partially) deleted objects.
Task-number: QTBUG-39369
Change-Id: I28bf94564ae120619054c6920779da974dccdad6
Reviewed-by: Laszlo Papp <lpapp@kde.org>
| commit | 76e3365e3b0bc11a4766b4154fe46ad3dcf91251 |
| parent | 04a3308346190a70509a759423993f6bcc365328 |
| author | Samuel Bryner <samuelbryner@gmx.ch> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Fri, 30 May 2014 16:24:51 +0200 |