[Packagemanager] Do not catch the exception thrown by event handler of app (#1540)
authorjeremy-jang <35089715+jeremy-jang@users.noreply.github.com>
Tue, 14 Apr 2020 05:34:45 +0000 (14:34 +0900)
committerGitHub <noreply@github.com>
Tue, 14 Apr 2020 05:34:45 +0000 (14:34 +0900)
commitd432f5e8445a1777037b17ea2762fef832cdbcc5
treed7d32463f5acc0f55e5c869a438a73c4bdc196a5
parentae177b1d623e1d160dbabc26493e07d610db6030
[Packagemanager] Do not catch the exception thrown by event handler of app (#1540)

* [Packagemanager] Fix exception handling when invoking app's event handlers

Invoke the registered event handlers one by one in try-catch block to
invoking all event handlers whether exception occurred at one of event
handlers.

Change-Id: Id2f6d9815ddbb43867a11cab9423384c6614b848
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Fix invoking event handlers as thread-safely

Change-Id: I21e2ff25726d6a4a24453e351dd64ecd47bdece4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Do not catch the exception thrown by event handler of app

The applications should be responsible its exception, they should
determine handle or not the exception.

Change-Id: Ifffb4a14aa920eae905f6ff76f3a887d06e579b8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs