[Application] Fixed behaviour of clearing data for reply callbacks 35/234435/1
authorPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Tue, 26 May 2020 09:07:42 +0000 (11:07 +0200)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Tue, 26 May 2020 09:07:42 +0000 (11:07 +0200)
commit9b23bb424ce2975261a84590abcd273cdca3ee51
tree1171769df3c651cb89bf5e1d1cdbe6bbf90596b2
parent805b7b672e0365eb6fe5232cc06c987fcfcc4e4a
[Application] Fixed behaviour of clearing data for reply callbacks

[Bug] Issue reported by PLM P200525-06256
When application suspends the reply callback, e.g. because of waiting for
user interaction, the data for callback was released too early. This caused
that everytime when reply callback is delayed, data was already freed and it
caused crash of application.

[Fix] Issue was fixed with saving pointers for releasing during manager destruction.

[Verification] PLM application has no longer any issues.
TCT passrate is 100%.

Change-Id: I575ab5f9ce4ccd0ce0bff0e6e9bdc15cadc09ed5
src/application/application_manager.cc
src/application/application_manager.h