XenIfaceDebugPrint(WARNING,"SessionSuspendResumeUnwatch %p\n", watch->watchhandle);
XENBUS_STORE(WatchRemove, &watch->fdoData->StoreInterface, watch->watchhandle);
+ watch->watchhandle = NULL;
StartWatch(watch->fdoData, watch);
}
}
SessionRemoveWatchesLocked(session);
if (session->transaction != NULL) {
XENBUS_STORE(TransactionEnd, &fdoData->StoreInterface, session->transaction, FALSE);
+ session->transaction = NULL;
}
session->closing = TRUE;
KeSetEvent(&session->SessionChangedEvent, IO_NO_INCREMENT, FALSE);
XenIfaceDebugPrint(TRACE,"Suspend unwatch %p\n", watch->watchhandle);
XENBUS_STORE(WatchRemove, &watch->fdoData->StoreInterface, watch->watchhandle);
+ watch->watchhandle = NULL;
watch = (XenStoreWatch *)watch->listentry.Flink;
}
XenIfaceDebugPrint(TRACE, "WATCHLIST for session %p-----------\n",session);