onUnload in webclient

When logging off from application we send the user back to the login-screen with:

security.logout('main')

in smart-client the onUnload-method of all the forms is triggered after this, in webclient the onUnload method is not called. Is this a bug or is this expected behavior? Calling the method history.clear() also does not seem to trigger the onUnload.

is must authenticate true for that solution?

Yes mustAuthenticate is checked in the solution.

then i don’t see any difference. The solution should just be unloaded and because of that the forms should be destroyed which does result in an unload event.
If that is not the case make a case

Case created (288612)