Browse Source

Removing a possibly unnecessary table copy on remove_process

Nathan Schneider 2 years ago
parent
commit
bdf4d86593
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modpol_core/modules/remove_process.lua

+ 1 - 1
modpol_core/modules/remove_process.lua

@@ -25,7 +25,7 @@ function remove_process:initiate(result)
    local available_processes = {}
    for k,process in pairs(self.org.processes) do
       if process ~= "deleted" then
-         available_processes[process.id] = modpol.util.copy_table(process)
+         available_processes[process.id] = process
       end
    end
    local process_list = {}