Skip to content

UnobservedTaskException when Stop() called #253

@darxis

Description

@darxis

When you call the SqlTableDependency<T>.Stop() method an UnobservedTaskException event is raised.
My app is setup to crash when such an event occurs - it has the following line in the app.config file <ThrowUnobservedTaskExceptions enabled="true" />

UnobservedTaskException details on Microsoft website link

I have debugged the SqlTableDependency library and I think I might have found the problem of this behavior that is not supposed to happen - you don't want UnobservedTaskException events raised when you call Stop()

I am going to make a fix + a test case and submit a PR.

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