public synchronized static void removeLuaState(int idx){
  states.add(idx,null);
}

public synchronized static void removeLuaState ( int idx ) { states . add ( idx , null ) ; }
removes the luastate from the states list
