[IOT-2957] Fix for crash on some Android phones.
Some Android phones (LG, HTC) crashed on removing listeners when compiled WITH_CLOUD=1. By reversing the order in which the listeners were removed, the crash does not occur. Bug: https://jira.iotivity.org/browse/IOT-2957 Change-Id: I32facaaf9a93ad6d0c7125e791c11618aa527587 Signed-off-by: Larry Sachs <email@example.com>
Showing with 36 additions and 36 deletions