[449162] Fix IllegalStateException: The resource set is disposed

Reverts change I6dfebe9e66d296229b3fa99267a9c33ef699c8cd to
patch set 1.

Bug: 449162
Change-Id: Ic874d60f5a971c317652ad073987bb6526c6e90e
Signed-off-by: Axel Richard <axel.richard@obeo.fr>
Also-by: Laurent Goubet <laurent.goubet@obeo.fr>