Browse Source

Explicitly close Spring context in WS integration test

pull/685/head
Rossen Stoyanchev 11 years ago
parent
commit
8f21c85511
  1. 6
      spring-websocket/src/test/java/org/springframework/web/socket/AbstractWebSocketIntegrationTests.java

6
spring-websocket/src/test/java/org/springframework/web/socket/AbstractWebSocketIntegrationTests.java

@ -113,6 +113,12 @@ public abstract class AbstractWebSocketIntegrationTests { @@ -113,6 +113,12 @@ public abstract class AbstractWebSocketIntegrationTests {
catch (Throwable t) {
logger.error("Failed to stop server", t);
}
try {
this.wac.close();
}
catch (Throwable t) {
logger.error("Failed to close WebApplicationContext", t);
}
}
protected String getWsBaseUrl() {

Loading…
Cancel
Save