OHIF-178: Fix the issue with DIMSE services by sending the caller via callback
This commit is contained in:
parent
6fdfd27fe5
commit
9905773a70
@ -82,7 +82,7 @@ DIMSE.associate = function(contexts, callback, options) {
|
|||||||
const socket = conn.associate(options, function(pdu) {
|
const socket = conn.associate(options, function(pdu) {
|
||||||
// associated
|
// associated
|
||||||
OHIF.log.info('==Associated');
|
OHIF.log.info('==Associated');
|
||||||
callback(null, pdu);
|
callback.call(this, null, pdu);
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('error', function (error) {
|
socket.on('error', function (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user