Skip to content

Phoenix teardown should only operate on initialized fields #11

Description

@jbsolomon

If the Phoenix constructor throws during initialization, but after the lifecycle manager is created, then the tear_down method may not work correctly. It should only tear down resources which have been initialized.

One way to solve this is by putting initialized resources in a teardown stack.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions