Skip to content

Improve promise use #3

@5cript

Description

@5cript

https://github.com/5cript/nui-scp/blob/4edd04fb701a13ce32a225900d28ed091a68b631/ssh/source/ssh/session.cpp#L120

The shared_ptr makes no sense here.
Either use the shared_ptr or just the promise and move it in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions