# | Line 1977 | Line 1977 | public class ThreadPoolExecutorTest exte | |
---|---|---|
1977 | // enough time to run all tasks | |
1978 | assertTrue(done.await(nTasks * SHORT_DELAY_MS, MILLISECONDS)); | |
1979 | } finally { | |
1980 | < | p.shutdown(); |
1980 | > | joinPool(p); |
1981 | } | |
1982 | } | |
1983 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |