Fix #1852: Deferred server events are not always propagated

This commit is contained in:
Pavel Minaev 2019-10-16 14:40:44 -07:00 committed by Pavel Minaev
parent f7df43d2cb
commit 492e5e0f62

View file

@ -130,8 +130,7 @@ class IDE(components.Component):
# See https://github.com/microsoft/vscode/issues/4902#issuecomment-368583522
# for the sequence of request and events necessary to orchestrate the start.
def _start_message_handler(f):
f = components.Component.message_handler(f)
@components.Component.message_handler
def handle(self, request):
assert request.is_request("launch", "attach")
if self._initialize_request is None: