mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
terminal: survive malformed dynamic re-config
This commit is contained in:
committed by
Christian Helmuth
parent
798b49fcc3
commit
a3193b919c
@@ -267,7 +267,8 @@ void Terminal::Main::_handle_config()
|
|||||||
|
|
||||||
_font.destruct();
|
_font.destruct();
|
||||||
|
|
||||||
_root_dir.apply_config(config.sub_node("vfs"));
|
config.with_optional_sub_node("vfs", [&] (Xml_node const &vfs_config) {
|
||||||
|
_root_dir.apply_config(vfs_config); });
|
||||||
|
|
||||||
Cached_font::Limit const cache_limit {
|
Cached_font::Limit const cache_limit {
|
||||||
config.attribute_value("cache", Number_of_bytes(256*1024)) };
|
config.attribute_value("cache", Number_of_bytes(256*1024)) };
|
||||||
|
|||||||
Reference in New Issue
Block a user