use hgw_context_compat_destroy_deinit instead of hgw_context_destroy