1
0
mirror of https://github.com/danog/dns.git synced 2025-01-23 05:51:11 +01:00

Merge branch '0.2'

This commit is contained in:
Chris Wright 2014-07-17 21:33:17 +01:00
commit 7960dc0e69

View File

@ -264,7 +264,10 @@ class Client
*/
private function completePendingLookup($id, $addr, $type)
{
call_user_func($this->pendingLookups[$id]['callback'], $addr, $type);
if (isset($this->pendingLookups[$id])) {
call_user_func($this->pendingLookups[$id]['callback'], $addr, $type);
}
unset($this->pendingLookups[$id]);
}