Slick Forums

Discuss the Slick 2D Library
It is currently Fri May 24, 2013 2:31 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Feb 12, 2010 7:19 am 
Offline
Regular

Joined: Sun Oct 05, 2008 9:24 pm
Posts: 173
um. Not that important I guess, but found a bug were java will crash when it's shutting down. This happens if Music/Sound is still playing.

Would it be possible for slick to stop all sounds/music before it exits?

Quote:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x05d1c059, pid=684, tid=4768
#
# Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode, sharing windows-x86)
# Problematic frame:
# C [OpenAL32.dll+0xc059]
#
# An error report file with more information is saved as:
# C:\jbarnet\java\PowerEngine\hs_err_pid684.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 12, 2010 12:22 pm 
Offline
Regular

Joined: Sun Oct 05, 2008 9:24 pm
Posts: 173
ok, can be closed - haha, no pun intended.

Overriding the closeRequested allows to gracefully shutdown all sounds before exit

see: http://slick.javaunlimited.net/viewtopi ... 3578#13578


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group