Remove transports when the underlying socket gets disconnect
This will cause the transport to be removed from the "transports" member
of the QQmlWebChannel. Otherwise it would linger around eating resources.
Thanks to Jannis Voelker for pointing it out.
Change-Id: I5aca499dfd0bdefc075fa5717436ab0919ec6ab1
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
| commit | be6a3904012d0e430cd79758da8fb535c9f970e6 |
| parent | 3260efe1b6a28ef81226756d2f24a2c73b2c1450 |
| author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> |
| committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> |
| commit time | Wed, 19 Aug 2015 17:50:19 +0000 |