Flow API UnregisterAll doesn’t seem to unregister correctly
Repro steps:
auto result = fsFlowRegister(fsFlowWasmCallback, NULL);
result = fsFlowUnregisterAll();
result = fsFlowRegister(fsFlowWasmCallback, NULL);
last result is false
auto result = fsFlowRegister(fsFlowWasmCallback, NULL);
result = fsFlowUnregister(fsFlowWasmCallback);
result = fsFlowRegister(fsFlowWasmCallback, NULL);
last result is true
so it seems that fsFlowUnregisterAll doesn’t unregister correctly, while fsFlowUnregister of the specific callback it works
Indeed there is an issue with the UnregisterAll if it is called in the same frame as a Register (the (un)registration process is async and there is a missing check in the UnregisterAll function that doesn’t handle that case.
This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.
If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.