[PrivacyPrivilegeManager] ResponseFetched Event was not fired
myroot opened this issue · comments
Seungkeun Lee commented
static ResponseContext context = null;
PrivacyPrivilegeManager.GetResponseContext("some privilege").TryGetTarget(out context);
context.ResponseFetched += some_handler;
context.ResponseFetched -= some_handler; // context was removed from s_responseMap
context.ResponseFetched += some_handler; // It will not fired when Response was fetched
Seungkeun Lee commented
Not yet fixed
static ResponseContext context = null;
PrivacyPrivilegeManager.GetResponseContext("some privilege").TryGetTarget(out context);
context.ResponseFetched += some_handler;
context.ResponseFetched -= some_handler; // context was removed from s_responseMap
PrivacyPrivilegeManager.GetResponseContext("some privilege"); // a new context was created and added in s_responseMap
context.ResponseFetched += some_handler; // It will not fired when Response was fetched