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