Sorry, I mis-understood you and thought wanted to delete the object. This is definitely a no-no inside the slot. I saw you on windows which creates a thread for handling the device. I have not looked into it, but it could be that it is trying to stop/delete this thread when closing. This could lead to the crash. But this is only handwaving :-) -- Best Regards
Reinhardt Behm On Thursday 30 October 2014 13:33:43 Murphy, Sean wrote: > > This is the more complicated way. > > > > Just use deleterLater(). It has the same effect. After the next round the > > eventloop the object will be deleted. > > I'm not trying to delete the serial port object, I'm just trying to close > the serial port so that I stop listening. Sean > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest