Skip to content

CPU intensive process left running after closing a winforms .Net6 app that uses OleDB #76054

Open

Description

Description

CPU intensive process left running after closing a WinForms .Net6 app that uses OleDB. I am not the first person to experience this. Please see following StackOverflow questions C# WinForm - EXE not terminating when closing main form & Reading access database, background process still running on close.

Reproduction Steps

Sample code attached WinFormsApp.zip. For the bug to be replicated, the exe must be opened outside of the visual studio environment.

Expected behavior

All processes would close on application exit.

Actual behavior

Process left running.

Regression?

This issue didn't happen in .Net framework as far I can tell but I didn't specifically test for it.

Known Workarounds

No response

Configuration

No response

Other information

No response

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions