Commit f1c46420 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

Symbian: Serial device is not flushed when closed

parent a378a5fb
......@@ -24,7 +24,6 @@ void VirtualSerialDevice::close()
{
if (isOpen()) {
Q_ASSERT(thread() == QThread::currentThread()); // My brain will explode otherwise
flush();
delete waiterForBytesWritten;
waiterForBytesWritten = NULL;
QMutexLocker locker(&lock);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment