Simplify our delay-loaded services.
The important part is that we don't create these services until they are needed. We don't need complicated logic about later on disabling them. The current logic attempts to disable them when the same packages that loaded them, get unloaded. But packages only get unloaded when VS is shutting down. And we don't need to do complex work in that case as our entire environment is going away. -- In other words, we had complexity around returning teh service to an 'unstarted' state just so it could be started up later. But it will never be the case that we'll ever start the service up again as the only reason we moved it to 'unstarted' was because VS was shutting down.
Showing
想要评论请 注册 或 登录