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:
commit
0cf046c2c5
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user