Show More
@@ -76,7 +76,7 define([ | |||||
76 | try { |
|
76 | try { | |
77 | var response = target(comm, msg); |
|
77 | var response = target(comm, msg); | |
78 | if (response instanceof Promise) { |
|
78 | if (response instanceof Promise) { | |
79 | return response.then(function() { Promise.resolve(comm); }); |
|
79 | return response.then(function() { return Promise.resolve(comm); }); | |
80 | } |
|
80 | } | |
81 | } catch (e) { |
|
81 | } catch (e) { | |
82 | comm.close(); |
|
82 | comm.close(); |
General Comments 0
You need to be logged in to leave comments.
Login now