mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Remove use of Thread.stop from test code
This commit is contained in:
parent
5d229301ed
commit
f0ae450f72
1 changed files with 1 additions and 5 deletions
|
@ -1372,11 +1372,7 @@ public class IndexBugsTests extends BaseTestCase {
|
||||||
th.join(5000);
|
th.join(5000);
|
||||||
assertFalse(th.isAlive());
|
assertFalse(th.isAlive());
|
||||||
} finally {
|
} finally {
|
||||||
try {
|
fIndex.releaseReadLock();
|
||||||
th.stop();
|
|
||||||
} finally {
|
|
||||||
fIndex.releaseReadLock();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue