When I run simple example
QStatus status; AJNBusAttachment *busAttachment = [[AJNBusAttachment alloc] initWithApplicationName:@"AppName" allowRemoteMessages:true]; status = [busAttachment start]; //status is ER_OK status = [busAttachment connectWithArguments:@""]; //status is ER_OK status = [busAttachment disconnectWithArguments:@""]; //status is ER_OK
But inside console next message
****** ERROR NETWORK TCPTransport common/os/posix/Socket.cc:463 | 0x0004
After I'm trying to stop busAttachment synchronously
status = [busAttachment waitUntilStopCompleted];
And endless waiting complete of this operations.
I checked this on last 14.12 SDK. Also tried this with sdk, which I build from master branch from here — https://git.allseenalliance.org/gerrit/core/alljoyn.git
How to fix this? Is it bug?
Or in case I want to implement reconnect function, I need always release busAttachment and create it again?