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

TunePlayer don't release memory after stopping #27

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 2 comments
Open

TunePlayer don't release memory after stopping #27

GoogleCodeExporter opened this issue Apr 1, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Sorry for bad english..
I try to play/stop tune from textarea by pressing button and all seems to be 
good, but TunePlayer it don't release memory after stop-method.
I'm new in JAVA, so don't know: Is it my mistake or not?

    class PlayTune implements ActionListener {
        public void actionPerformed(ActionEvent e) {
            if (player.isPlaying()) {
                player.stop();
            }
            else {
                if (!tuneEditArea.getText().isEmpty()) {
                    tuneAsString = tuneEditArea.getText();
                } else {
                    tuneAsString = "";
                }
                Tune tune = new TuneParser().parse(tuneAsString);
                player.start();
                player.play(tune);
            }
        }
    }

What version of the product are you using? On what operating system?
Windows 8 Pro x64, NetBeans IDE 7.2.1, JDK 1.7u15 x64

Original issue reported on code.google.com by freetush...@gmail.com on 3 Mar 2013 at 11:40

@GoogleCodeExporter
Copy link
Author

* TunePlayer does't release memory

Original comment by freetush...@gmail.com on 11 Mar 2013 at 10:52

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Yep, it doesn't release memory

Original comment by terrylee...@gmail.com on 7 May 2013 at 11:50

  • Added labels: ****
  • Removed labels: ****

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

1 participant