Skip to content

Error if path destroyed before :ComputeAsync() finishes #16

@wrello

Description

@wrello
local p = require(game.ReplicatedStorage.Util.SimplePath).new(workspace.Rig) 
task.spawn(p.Run, p, Vector3.zero) 
p:Destroy()

This will cause an error because while the path is being computed _path becomes nil.

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