mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-09-29 06:50:50 +00:00
Embeddable: Add Free_memory method
This commit is contained in:
parent
a6540d6200
commit
910b5d66d3
@ -32,7 +32,7 @@ public class Xoa_app_ {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static final String Name = "xowa";
|
public static final String Name = "xowa";
|
||||||
public static final String Version = "3.11.2.4";
|
public static final String Version = "3.11.2.5";
|
||||||
public static String Build_date = "2012-12-30 00:00:00";
|
public static String Build_date = "2012-12-30 00:00:00";
|
||||||
public static String Op_sys_str;
|
public static String Op_sys_str;
|
||||||
public static String User_agent = "";
|
public static String User_agent = "";
|
||||||
|
@ -29,6 +29,12 @@ public class Xop_mediawiki_wkr {
|
|||||||
if (loader != null)
|
if (loader != null)
|
||||||
wiki.Cache_mgr().Page_cache().Load_wkr_(new Xow_page_cache_wkr__embeddable(loader));
|
wiki.Cache_mgr().Page_cache().Load_wkr_(new Xow_page_cache_wkr__embeddable(loader));
|
||||||
}
|
}
|
||||||
|
public void Free_memory() {
|
||||||
|
wiki.Cache_mgr().Tmpl_result_cache().Clear();
|
||||||
|
wiki.Cache_mgr().Free_mem_all(Bool_.N);
|
||||||
|
wiki.Parser_mgr().Scrib().Core_term();
|
||||||
|
wiki.Appe().Wiki_mgr().Wdata_mgr().Clear();
|
||||||
|
}
|
||||||
public String Parse(String page, String wikitext) {
|
public String Parse(String page, String wikitext) {
|
||||||
Xoa_ttl ttl = wiki.Ttl_parse(Bry_.new_u8(page));
|
Xoa_ttl ttl = wiki.Ttl_parse(Bry_.new_u8(page));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user