Skip to content

ShellObjectWatcher won't Destory #37

Description

@mtissington

Any app using the ShellObjectWatcher hangs when closing because of a background message loop.

See this https://stackoverflow.com/questions/9291929/c-sharp-app-using-windows-api-code-pack-shell-extension-wont-shut-down

The solution is to add a line to the function MessageListener.WndProc()​

case (uint)WindowMessage.Destr​oy:
 _running = false; // add this line to fix issue
 break;

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions