OHIF-178: Fix the issue with DIMSE services by sending the caller via callback

This commit is contained in:
Aysel Afsar 2017-10-12 14:52:15 -04:00
parent 6fdfd27fe5
commit 9905773a70

View File

@ -82,7 +82,7 @@ DIMSE.associate = function(contexts, callback, options) {
const socket = conn.associate(options, function(pdu) {
// associated
OHIF.log.info('==Associated');
callback(null, pdu);
callback.call(this, null, pdu);
});
socket.on('error', function (error) {