Commit 10402a65 authored by Andy Wilkinson's avatar Andy Wilkinson

Close context to ensure that logging system is cleaned up

See gh-6688
parent 43361e0c
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2016 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -37,7 +37,7 @@ public class SampleLogbackApplication { ...@@ -37,7 +37,7 @@ public class SampleLogbackApplication {
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
SpringApplication.run(SampleLogbackApplication.class, args); SpringApplication.run(SampleLogbackApplication.class, args).close();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment