From: =?utf-8?b?Ikpvc8OpIEwuIFJlZHJlam8gUm9kcsOtZ3VleiI=?= Date: Thu, 11 Oct 2018 12:52:28 +0200 Subject: lliurex_add_valencian =================================================================== --- src/core/edu/xtec/jclic/media/EventSounds.java | 14 +++++++++----- src/core/edu/xtec/util/Messages.java | 14 +++++++++++++- 2 files changed, 22 insertions(+), 6 deletions(-) --- a/src/core/edu/xtec/jclic/media/EventSounds.java +++ b/src/core/edu/xtec/jclic/media/EventSounds.java @@ -210,11 +210,15 @@ } public void close() { - for (int i = 0; i < NUM_EVENTS; i++) - if (elements[i] != null) { - elements[i].close(); - elements[i] = null; - } + try + { + for(int i=0; i