release resource demo