diff options
author | Alfred E. Heggestad <aeh@db.org> | 2014-10-19 01:23:57 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2014-10-19 01:23:57 +0200 |
commit | 76db3b6d9fabb4c9460c917bfc4405a50897658e (patch) | |
tree | 77a97667796553fc40a6e89654772d60eb496d85 /src/ua.c | |
parent | ad3905c989d13b5a216643437d2152f8c0629bde (diff) |
ui: update UI-module API
- change from multiple-instances to single-instance
(multiple-instances was never used)
- remove ui/input config parameters from the "core" config,
moved to each specific module (cons and evdev)
- modules updated: stdio, cons, evdev, wincons
- this patch solves the reported crash, that module-functions
are called after the module was unloaded.
Diffstat (limited to 'src/ua.c')
-rw-r--r-- | src/ua.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1089,7 +1089,6 @@ int ua_init(const char *software, bool udp, bool tcp, bool tls, uag.cfg = &cfg->sip; bsize = cfg->sip.trans_bsize; - ui_init(&cfg->input); play_init(); @@ -1154,6 +1153,7 @@ void ua_close(void) cmd_unregister(cmdv); net_close(); play_close(); + ui_reset(); uag.evsock = mem_deref(uag.evsock); uag.sock = mem_deref(uag.sock); |