mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-15 14:35:55 +00:00
wip
This commit is contained in:
@@ -49,13 +49,15 @@ class ConnectionManager implements ConnectionManagerContract
|
|||||||
|
|
||||||
public function removeControlConnection($connection)
|
public function removeControlConnection($connection)
|
||||||
{
|
{
|
||||||
if (isset($this->httpConnections[$connection->request_id])) {
|
if (isset($connection->request_id)) {
|
||||||
unset($this->httpConnections[$connection->request_id]);
|
if (isset($this->httpConnections[$connection->request_id])) {
|
||||||
|
unset($this->httpConnections[$connection->request_id]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($connection->client_id)) {
|
if (isset($connection->client_id)) {
|
||||||
$clientId = $connection->client_id;
|
$clientId = $connection->client_id;
|
||||||
$this->collections = collect($this->connections)->reject(function ($connection) use ($clientId) {
|
$this->connections = collect($this->connections)->reject(function ($connection) use ($clientId) {
|
||||||
return $connection->client_id == $clientId;
|
return $connection->client_id == $clientId;
|
||||||
})->toArray();
|
})->toArray();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "laravel-zero/laravel-zero",
|
"name": "beyondcode/expose",
|
||||||
"description": "The Laravel Zero Framework.",
|
"description": "The Laravel Zero Framework.",
|
||||||
"keywords": ["framework", "laravel", "laravel zero", "console", "cli"],
|
"keywords": ["framework", "laravel", "laravel zero", "console", "cli"],
|
||||||
"homepage": "https://laravel-zero.com",
|
"homepage": "https://laravel-zero.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user