[Filesystem] Fixed invalid unregistration of StateListener 26/280326/1 accepted/tizen/unified/20220829.062552 submit/tizen/20220826.143009
authorPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Fri, 26 Aug 2022 13:24:50 +0000 (15:24 +0200)
committerPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Fri, 26 Aug 2022 13:47:54 +0000 (15:47 +0200)
commit5dd52ec52ab8e821d2d362db1869cc685b6d3290
treeefde2a53d829f1d2301e377923e98c0a0e1a5512
parentc8216e17ffc1cdd55e86d54c09dd93ffda533dbc
[Filesystem] Fixed invalid unregistration of StateListener

Issue occurred when running filesystem manual TCTs, first test passed,
the second test didn't pass because static FilesystemManager didn't
unregister the listener properly.

[Verification]
Filesystem manual TCT passed.
Filesystem auto 100% pass.

Change-Id: I185f541b15c146c3b62fb1dbfd5df48c0a9dd5e4
src/common/filesystem/filesystem_provider_deviced.cc