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

Exception caused when client closes #45

Closed
bazola opened this issue Oct 1, 2014 · 1 comment
Closed

Exception caused when client closes #45

bazola opened this issue Oct 1, 2014 · 1 comment
Assignees
Milestone

Comments

@bazola
Copy link
Contributor

bazola commented Oct 1, 2014

No description provided.

@bazola bazola added the bug label Oct 1, 2014
@bazola
Copy link
Contributor Author

bazola commented Oct 1, 2014

caused by this method:
public void closeGame() {
this.listenThread.interrupt();
this.playThread.interrupt();

    //Uncomment these lines to cure the exception
    //this.listenThread.stop();
    //this.playThread.stop();

    try {
        this.in.close();
        this.out.close();
    } catch (Exception e) {
        System.out.println("Failed to break connection");
    }
}

@Zomis Zomis added this to the 0.3 milestone Oct 4, 2014
@Zomis Zomis self-assigned this Oct 4, 2014
@Zomis Zomis added in progress and removed ready labels Oct 4, 2014
@Zomis Zomis closed this as completed in 329348c Oct 6, 2014
@Zomis Zomis removed the next release label Oct 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants