Title: ShellObjectWatcher won't Destory · Issue #37 · PWagner1/Windows-API-CodePack-NET · GitHub
Open Graph Title: ShellObjectWatcher won't Destory · Issue #37 · PWagner1/Windows-API-CodePack-NET
X Title: ShellObjectWatcher won't Destory · Issue #37 · PWagner1/Windows-API-CodePack-NET
Description: 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 ...
Open Graph Description: 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-exte...
X Description: 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-exte...
Opengraph URL: https://github.com/PWagner1/Windows-API-CodePack-NET/issues/37
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ShellObjectWatcher won't Destory","articleBody":"Any app using the ShellObjectWatcher hangs when closing because of a background message loop.\n\nSee this [https://stackoverflow.com/questions/9291929/c-sharp-app-using-windows-api-code-pack-shell-extension-wont-shut-down](url)\n\nThe solution is to add a line to the function `MessageListener.WndProc()`\n\n```\ncase (uint)WindowMessage.Destroy:\n _running = false; // add this line to fix issue\n break;\n```\n\n","author":{"url":"https://github.com/mtissington","@type":"Person","name":"mtissington"},"datePublished":"2025-11-27T06:37:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/37/Windows-API-CodePack-NET/issues/37"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:782270e2-26ea-5555-6155-34dc10a24ee7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C308:1E90F:1CF1E6:23E5E3:697DFA37 |
| html-safe-nonce | dd0e0d9b3db4ff81a65ec9e703d1c9ff4488dd0957a78b7322a2ffe027857e08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzA4OjFFOTBGOjFDRjFFNjoyM0U1RTM6Njk3REZBMzciLCJ2aXNpdG9yX2lkIjoiMzUwNTg2Mzc5NTcyMjE0MzI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a200ddd238b6b17b85a983063d2c40802a1515dc7ad32deacdec2813721b408b |
| hovercard-subject-tag | issue:3670061017 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PWagner1/Windows-API-CodePack-NET/37/issue_layout |
| twitter:image | https://opengraph.githubassets.com/530dd8cc5c43744638fb8d3bb0b0f04ec03ba7fc1ec15031eb6a090cddf60738/PWagner1/Windows-API-CodePack-NET/issues/37 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/530dd8cc5c43744638fb8d3bb0b0f04ec03ba7fc1ec15031eb6a090cddf60738/PWagner1/Windows-API-CodePack-NET/issues/37 |
| og:image:alt | 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-exte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mtissington |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PWagner1/Windows-API-CodePack-NET git https://github.com/PWagner1/Windows-API-CodePack-NET.git |
| octolytics-dimension-user_id | 949607 |
| octolytics-dimension-user_login | PWagner1 |
| octolytics-dimension-repository_id | 561719393 |
| octolytics-dimension-repository_nwo | PWagner1/Windows-API-CodePack-NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 561719393 |
| octolytics-dimension-repository_network_root_nwo | PWagner1/Windows-API-CodePack-NET |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width