mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
Move some code arround
This commit is contained in:
parent
114dae07e1
commit
78916cfc08
15 changed files with 161 additions and 382 deletions
|
|
@ -110,7 +110,13 @@ class Connection {
|
|||
}
|
||||
}
|
||||
|
||||
public function close() {
|
||||
$this->write('close' . PHP_EOL);
|
||||
}
|
||||
|
||||
public function __destruct() {
|
||||
$this->close();
|
||||
proc_terminate($this->process);
|
||||
proc_close($this->process);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue