mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
terminal: survive malformed dynamic re-config
This commit is contained in:
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)) };
|
||||||
|
Loading…
Reference in New Issue
Block a user