Bug 516043 - Ignore "disconnected" exceptions during disconnect

Introduced "fDisconnecting" flag, with similar implementation/behavior
on disconnect() and disconnected() as "fTerminating" and
terminate()/terminated(). isAvailable() checks this flag now.

Change-Id: Iab361cd22799971253ee756b4a52d1594faa87c8
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2 files changed