It's at least in 1.9 and 1.8
You added the following comment which is in HEAD but not previously:
1.16 (peterbul 01-Sep-08): * This includes deleting current sessions, and rpc2host records.
I cannot find it in 1.7 or before.
1.1 (martinla 04-Jan-07): $obj = delete_records('mnet_rpc2host', 'host_id', $this->id);
But it's the only reference I can ever find to rpc2host - deleting records. I'm not sure if it a typo and should be deleting from another table, which is why i haven't simply deleted it.
There isn't an rpc2host table in 1.9
Is the same code present in 1.9, 1.8?
Do you have a reference to specific code location where the problem is centered?