oripipa wrote:
IS this correct? interpreting a shared cursos should never be
destroyed?
No. But then shared resources are not yet implemented (at least wasn't last I checked) why this code wasn't too incorrect. Your change most certainly is not right, as it'd make the code never remove anything from the list.
Current code removes the process-owned icons (from the list) when the process terminates. Is this case really properly locked? I don't know.
More research is needed for shared resources.