Skip to content

AbstractStartedContainer asyncDispose should call this.stop #1202

@joebowbeer

Description

@joebowbeer

@cristianrgreco Shouldn't this call this.stop?

Expected:

  async [Symbol.asyncDispose]() {
    await this.stop();
  }

Actual:

async [Symbol.asyncDispose]() {
await this.startedTestContainer[Symbol.asyncDispose]();
}

Originally posted by @joebowbeer in #1080 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions