()
| 32 | private static boolean peerCanRun = true; |
| 33 | |
| 34 | public static void startPeer() { |
| 35 | peerCanRun = true; |
| 36 | new Thread(new Runnable() { |
| 37 | @Override |
| 38 | public void run() { |
| 39 | startPeerInBackground(); |
| 40 | } |
| 41 | }).start(); |
| 42 | |
| 43 | } |
| 44 | |
| 45 | private static synchronized void startPeerInBackground() { |
| 46 | try { |
no test coverage detected