You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-10 22:41:43 +02:00
Fastfix
This commit is contained in:
@@ -143,8 +143,8 @@ pub fn remove_inactive_connections(tcp: &mut AddIn) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
for id in inactive_ids {
|
||||
tcp.connections.remove(&id);
|
||||
for id in &inactive_ids {
|
||||
tcp.connections.remove(id);
|
||||
}
|
||||
|
||||
json!({ "result": true, "removed_connections": inactive_ids }).to_string()
|
||||
|
@@ -3,7 +3,6 @@ mod methods;
|
||||
use addin1c::{name, Variant};
|
||||
use crate::core::getset;
|
||||
use std::collections::HashMap;
|
||||
use std::io::{Read, Write};
|
||||
use std::net::{TcpListener, TcpStream};
|
||||
|
||||
// МЕТОДЫ КОМПОНЕНТЫ -------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user