[Filesystem] Fixed invalid unregistration of StateListener 31/280331/1
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 14:17:19 +0000 (16:17 +0200)
commitac5d5b2605ac23bdeecf4baa81cf731447828a03
tree62a89946b24e8ba80ff3638a1e70c33345e4ebc2
parent7a578343bc4fbe6810aa7046724249affad743fa
[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