Skip to content

Commit 6cde7e2

Browse files
authored
Fixed potentially odd NPE due to dangling elements in queue (#4123)
1 parent 157b327 commit 6cde7e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maven/core-unittests/src/test/java/com/codename1/io/NetworkManagerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ void setUp() throws Exception {
3232
}
3333

3434
@AfterEach
35-
void tearDown() {
35+
void tearDown() throws Exception {
36+
resetManagerState();
3637
Util.setImplementation(null);
3738
Storage.setStorageInstance(null);
3839
}

0 commit comments

Comments
 (0)