b-deng / red5-screenshare

Automatically exported from code.google.com/p/red5-screenshare
0 stars 0 forks source link

Log directory on user desktop #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start RED5-Screensahre applet
2. A log directory is created in the user desktop and cannot be removed until 
the javaw.exe process is killed.

What is the expected output? What do you see instead?
The javaw.exe process is killed automatically when exiting the applet.

What version of the product are you using? On what operating system?
r6

Please provide any additional information below.
It would be better to place the log file in a tmp directory

Original issue reported on code.google.com by lahlou180@gmail.com on 24 May 2011 at 9:13

GoogleCodeExporter commented 9 years ago
To solve the problem, A "System.exit(0)" call needs to be done when the user 
clicks on the exit button or close the window...

Original comment by lahlou180@gmail.com on 27 May 2011 at 2:53

GoogleCodeExporter commented 9 years ago
I added a

t = new JFrame("Desktop Publisher");
t.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

in the source to solve this

Original comment by meow...@gmail.com on 22 Oct 2011 at 5:02