Leaving DispatchGroup causes my code to crash
You can check number of count entered in group before leaving from any group by below Patch Work
let count = self.groupExecuting.debugDescription.components(separatedBy: ",").filter({$0.contains("count")}).first!.components(separatedBy: CharacterSet.decimalDigits.inverted).filter({Int($0) != nil})