Skip to content

ProjectManger: crash while end-building, and json file gets modified #129

Description

@diegoiast

Assume you are running a build task, from a JSON file.
Assume that while building, you modify the JSON file.

The original build task get deleted. While the Process::finished will have a pointer to the old deleted task. App crashes.

Solutions:

  • copy the task
  • use smart pointers for task

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Project managerIssues related the project manager pluginbugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions