1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00

Merge branch '0.1' into 0.2

This commit is contained in:
Chris Wright 2014-07-17 21:32:59 +01:00
commit 0cf046c2c5

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]);
}