Fixed potential crash upon resource unlinking
Fixed potential crash upon resource unlinking

DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf