Fixed potential crash with platinum and JS upon destruction
Fixed potential crash with platinum and JS upon destruction

git-svn-id: ab66a9de07fa9d47c5829c82992f5279466c775f@3503 63c20433-aa62-49bd-875c-5a186b69a8fb

gpac/gpac,RodolpheFouquet/gpac,Bevara/Access-open,rauf/gpac,Bevara/Access-open,gpac/gpac,epam/gpac,DmitrySigaev/gpac,aymanelyaagoubi/gpac,nguyen-viet-thanh-trung/gpac,aymanelyaagoubi/gpac,nguyen-viet-thanh-trung/gpac,epam/gpac,rbouqueau/gpac_brew_travis,ARSekkat/gpac,Bevara/Access-open,DmitrySigaev/gpac,porcelijn/gpac,drakeguan/gpac,canatella/gpac,emmanouil/gpac,ARSekkat/gpac,psteinb/gpac,Bevara/Access-open,aymanelyaagoubi/gpac,porcelijn/gpac,drakeguan/gpac,DmitrySigaev/gpac,gpac/gpac,ARSekkat/gpac,canatella/gpac,rbouqueau/gpac_brew_travis,rbouqueau/gpac,gpac/gpac,RodolpheFouquet/gpac,aymanelyaagoubi/gpac,emmanouil/gpac,canatella/gpac,emmanouil/gpac,vladimir-kazakov/gpac,nguyen-viet-thanh-trung/gpac,epam/gpac,Bevara/Access-open,aymanelyaagoubi/gpac,emmanouil/gpac,rauf/gpac,DmitrySigaev/gpac,nguyen-viet-thanh-trung/gpac,psteinb/gpac,drakeguan/gpac,canatella/gpac,rbouqueau/gpac,ARSekkat/gpac,Bevara/Access-open,RodolpheFouquet/gpac,psteinb/gpac,vladimir-kazakov/gpac,porcelijn/gpac,aymanelyaagoubi/gpac,RodolpheFouquet/gpac,psteinb/gpac,porcelijn/gpac,rauf/gpac,vladimir-kazakov/gpac,rbouqueau/gpac,gpac/gpac,DmitrySigaev/gpac,gpac/gpac,vladimir-kazakov/gpac,psteinb/gpac,drakeguan/gpac,epam/gpac,rauf/gpac,rbouqueau/gpac_brew_travis,rbouqueau/gpac,gpac/gpac,emmanouil/gpac,canatella/gpac,rbouqueau/gpac_brew_travis,drakeguan/gpac,vladimir-kazakov/gpac,rbouqueau/gpac,canatella/gpac,drakeguan/gpac,rauf/gpac,epam/gpac,porcelijn/gpac,psteinb/gpac,vladimir-kazakov/gpac,ARSekkat/gpac,gpac/gpac,nguyen-viet-thanh-trung/gpac,rbouqueau/gpac,canatella/gpac,rbouqueau/gpac,epam/gpac,ARSekkat/gpac,rbouqueau/gpac_brew_travis,rbouqueau/gpac_brew_travis,porcelijn/gpac,emmanouil/gpac,rauf/gpac,rbouqueau/gpac,RodolpheFouquet/gpac,RodolpheFouquet/gpac,DmitrySigaev/gpac,nguyen-viet-thanh-trung/gpac