mirror of
https://github.com/apache/activemq.git
synced 2025-02-20 00:47:07 +00:00
Avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@388079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ae3b9b2ba
commit
6412d6526a
@ -37,8 +37,10 @@ public class ServiceStopper {
|
||||
*/
|
||||
public void stop(Service service) {
|
||||
try {
|
||||
if( service!=null ) {
|
||||
service.stop();
|
||||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
onException(service, e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user