Fix bug when calling commit before declare

This commit is contained in:
Zaid Abdulla committed 2017-02-26 15:18:17 -08:00
1 parent c435a5e8db
commit cf01cce443
1 file changed
+1 -1
+1 -1
View File
@@ -602,7 +602,7 @@ rpcRequest = (sessionContext, _declarations, callback) ->
return rpcRequest(sessionContext, null, callback) return rpcRequest(sessionContext, null, callback)
) )
if not sessionContext.declarations[0].length if sessionContext.doneProvisions[0] & 1
return callback() return callback()
if sessionContext.rpcCount >= 255 or if sessionContext.rpcCount >= 255 or