Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
Posts: 4
Registered: ‎03-21-2013
My Device: Z10, Playbook

QTcpSocket throws exception on close() method

QTcpSocket for arm platform seems to have a bug on close() method. Everytime when to close() or abort() a QTcpSocket, I got this message.

 

virtual void QEventDispatcherBlackberry::unregisterSocketNotifier(QSocketNotifier*) bps_remove_fd() failed 15 

 

My code is very typical. Is there something wrong or just an unclarified bug?

 

 

 

if(socket->isOpen())
{
// socket->close();
socket->abort();
qDebug()<<"Reader disconnected.";
}