public void MultipleEngines_ClosedInOpenOrder_NotCrash() { var engine1 = new XklEngine(); var engine2 = new XklEngine(); engine1.Close(); engine2.Close(); }
public static XklConfigRegistry Create(XklEngine engine) { var configRegistry = xkl_config_registry_get_instance(engine.Engine); if (!xkl_config_registry_load(configRegistry, true)) { throw new ApplicationException("Got error trying to load config registry: " + engine.LastError); } return(new XklConfigRegistry(configRegistry)); }
public void UseAfterClose_NotCrash() { var engine = new XklEngine(); engine.Close(); engine.SetGroup(0); }
public void Basic() { var engine = new XklEngine(); engine.Close(); }