Flow API fsFlowUnregisterAll

Version: 1.5.16.0

Frequency: Consistently

Severity: Low

Bug description:

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

Hi

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.

Thanks for pointing that out.

Best Regards
Maxime / Asobo

2 Likes

Hello,

Can you confirm this is fixed in SU3 ?

Regards,
Boris

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.