update

修正构造函数中异常所需要的资源释放
Merge remote-tracking branch 'origin/deffered/promise'