Close the handle for the events that were created
authorAndy Shaw <andy.shaw@digia.com>
Thu, 27 Nov 2014 11:24:17 +0000 (12:24 +0100)
committerAndy Shaw <andy.shaw@digia.com>
Thu, 27 Nov 2014 12:22:47 +0000 (13:22 +0100)
commitfbf3a8f5d50b5ae2dc90ac0af840a36530df3395
treecd64fefb815e3a4930fca5ccfac53eaa76ed5c4a
parentab51ad6a5f4e533c31bd8e5b6f16a3bcd09a3ee6
Close the handle for the events that were created

The handles should be closed when QSerialPort is deleted in order to clean
up the native resources.

Change-Id: If04521fc0fa3b898093bda3317962b4c44818034
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
src/serialport/qserialport_win.cpp
src/serialport/qserialport_win_p.h