Skip to content

clear __currentUserId when puppet stops #201

Open
@hcfw007

Description

@hcfw007

In this issue, #184, we discussed that we should not call puppet.logout() in puppet.stop(). That works well, however recently when studying logs about puppet resetting, we found that after reseting the puppet is still logged in before the new login event comes, and that might be problematic.
Thus beside emiting a logout event, we should also clear __currentUserId in puppet.stop(). I'll create a PR to show that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions