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>
commitfbf3a8f5d50b5ae2dc90ac0af840a36530df3395
parentab51ad6a5f4e533c31bd8e5b6f16a3bcd09a3ee6
authorAndy Shaw <andy.shaw@digia.com>
committerAndy Shaw <andy.shaw@digia.com>
commit timeThu, 27 Nov 2014 13:22:47 +0100