Prevent incompatible types: ServletContextHandler cannot be converted to Handler
This commit is contained in:
parent
d67d0235bd
commit
441d952b35
1 changed files with 3 additions and 1 deletions
|
@ -564,7 +564,9 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
// unbind from Jetty HTTP server
|
||||
if (ApplicationManager.this.jetty != null) {
|
||||
if (this.appContext != null) {
|
||||
ApplicationManager.this.context.removeHandler(this.appContext);
|
||||
// FIXME: Causing incompatible types: ServletContextHandler cannot be converted to Handler
|
||||
// Is it necessary, anyway?
|
||||
//ApplicationManager.this.context.removeHandler(this.appContext);
|
||||
this.appContext.stop();
|
||||
this.appContext.destroy();
|
||||
this.appContext = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue