mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
First code cleanup for better memory management
This commit is contained in:
parent
b5a4c2621b
commit
2f76c9bf4b
21 changed files with 968 additions and 852 deletions
|
|
@ -2,17 +2,20 @@
|
|||
-- (C) 2014-24 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
-- Hack to avoid include loops
|
||||
|
||||
if(pragma_once_os_utils == true) then
|
||||
-- avoid multiple inclusions
|
||||
return
|
||||
end
|
||||
|
||||
pragma_once_os_utils = true
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
local clock_start = os.clock()
|
||||
|
||||
local tracker = require "tracker"
|
||||
|
||||
local os_utils = {}
|
||||
|
||||
local is_windows = ntop.isWindows()
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
local os_utils = {}
|
||||
|
||||
-- ########################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue