()
| 168 | } |
| 169 | |
| 170 | public static int get_processID() { |
| 171 | int id_number = 1; |
| 172 | Set<Integer> keys = Apps.apps.keySet(); |
| 173 | while (keys.contains(id_number)) { |
| 174 | for(Integer key: keys){ |
| 175 | if (key.equals(id_number)) { |
| 176 | id_number++; |
| 177 | } |
| 178 | } |
| 179 | } |
| 180 | return id_number; |
| 181 | } |
| 182 | |
| 183 | public static void preLogoutkill() { |
| 184 | //Pid stuff |