Commit f317d1a3 authored by Niels Möller's avatar Niels Möller
Browse files

(main): Put the resources generating by options

processing on the connection's resource list.

Rev: src/lsh.c:
parent e39c4eaa
......@@ -847,6 +847,10 @@ main(int argc, char **argv, const char** envp)
if (!connection)
/* Contains session channels to be opened. */
FOR_OBJECT_QUEUE(&options->super.actions, n)
......@@ -856,14 +860,6 @@ main(int argc, char **argv, const char** envp)
/* FIXME: This isn't right; we must associate the resources with the
connection instead. The options may have been garbage collected
by now. */
/* Close all files and other resources associated with the backend. */
/* FIXME: Perhaps we have to reset the stdio file descriptors to
* blocking mode? */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment