Skip to content

Channel send leaks memory #116

Closed
Closed
@jyasskin

Description

@jyasskin
io fn main() {
  let port[int] p = port();
  auto c = chan(p);
  c <| 3;
}

fails at runtime with:

rt: fatal, 'leaked memory in rust main loop (5 objects)' failed, rt/rust.cpp:33

Commenting out the send and "io" removes the leak.

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