diff --git a/Libraries/Interaction/InteractionManager.js b/Libraries/Interaction/InteractionManager.js index c4216344c..a22f7669a 100644 --- a/Libraries/Interaction/InteractionManager.js +++ b/Libraries/Interaction/InteractionManager.js @@ -99,7 +99,13 @@ var InteractionManager = { }); return { then: promise.then.bind(promise), - done: promise.done.bind(promise), + done: (...args) => { + if (promise.done) { + promise.done(...args); + } else { + console.warn('Tried to call done when not supported by current Promise implementation.'); + } + }, cancel: function() { _taskQueue.cancelTasks(tasks); },