Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute of program freezes Eclipse #50

Closed
vogella opened this issue Jun 24, 2019 · 0 comments · Fixed by #67

Comments

@vogella
Copy link
Contributor

commented Jun 24, 2019

Looks like the execution of a program happens in the main thread. To test use the following program:

import 'dart:io';
import 'dart:convert';
void main() {
  HttpClient()
    .getUrl(Uri.parse('https://git.eclipse.org/r/changes/?q=status:open')) // produces a request object
    .then((request) => request.close()) // sends the request
    .then((response) => response.transform(Utf8Decoder()).listen(print)); // transforms and prints the response
}

Run it and you will see that Eclipse freezes.

@jonas-jonas jonas-jonas self-assigned this Jun 24, 2019
@jonas-jonas jonas-jonas added the Bug label Jun 24, 2019
@jonas-jonas jonas-jonas added this to To do in June via automation Jun 24, 2019
@jonas-jonas jonas-jonas added this to To do in Backlog via automation Jun 24, 2019
jonas-jonas added a commit that referenced this issue Jul 1, 2019
fixes #50
Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
@jonas-jonas jonas-jonas moved this from To do to In progress in June Jul 1, 2019
June automation moved this from In progress to Done Jul 1, 2019
Backlog automation moved this from To do to Done Jul 1, 2019
jonas-jonas added a commit that referenced this issue Jul 1, 2019
closes #50 
Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
June
  
Done
Backlog
  
Done
2 participants
You can’t perform that action at this time.