Skip to content

Problem with OnDisconnectedAsync #390

@shiblydangdang

Description

@shiblydangdang

Hi

We seem to be randomly having an issue with OnDisconnectedAsync.

When the user closes the browser, we need to call a backend subroutine to tidy up our license table.

We've currently got a signalr call back to HC to do this and so far it seems to have been working fine. However, we recently had a customer have issues with license slots not being cleared. We managed to replicate the issue but only on the Firefox browser. The customer is using Edge but we can't replicate it on Edge, Chrome or Safari.

We tried moving the process into the OnDisconnectedAsync method but it still seems to fail. We think it's killed the HCHOST.DBR process before it gets to the clear job slot call.

Can you please advise if we should be able to do this in the OnDisconnectedAsync or do we need another option?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions