                 }
 
                 self.fulfillCallbacks.removeAll(keepCapacity: false)
+                self.rejectCallbacks.removeAll(keepCapacity: false)
             }
         }
         dispatch_semaphore_signal(self.mutex)

                            if values.count == promises.count {
                                promise.fulfill(values)
                                pending = false
                            }
                        }
                    }

                    cb(error)
                }

                self.fulfillCallbacks.removeAll(keepCapacity: false)
                self.rejectCallbacks.removeAll(keepCapacity: false)
            }
        }
