if (proxyObject->GetProxyType() == PROXY_ASYNC)
if (proxyObject->GetProxyType() & PROXY_ASYNC)
void DestroyHandler(PLEvent *self) {    nsProxyObjectCallInfo* owner = (nsProxyObjectCallInfo*)PL_GetEventOwner(self);    nsProxyObject* proxyObject = owner->GetProxyObject();    if (proxyObject->GetProxyType() == PROXY_ASYNC)    {                delete owner;    }    // decrement once since we increased it during the Post()    NS_RELEASE(proxyObject);}