Commit e0457eff authored by fede's avatar fede

prueba liberando memoria

parent ce56c2b0
......@@ -212,6 +212,7 @@ public class JuegoMultiJugadorWS {
case "resultado-final":
finalizarPartida(partidaId);
enviarResultadoFinal(partidaId);
Runtime.getRuntime().gc();
break;
default:
json = Json.createObjectBuilder()
......
......@@ -133,6 +133,7 @@ public class JuegoUnJugadorWS {
case "resultado-final":
finalizarPartida(partidaId);
enviarResultadoFinal(session, partidaId);
Runtime.getRuntime().gc();
break;
default:
json = Json.createObjectBuilder()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment