aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/IcedTeaPluginUtils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp/IcedTeaPluginUtils.cc')
-rw-r--r--plugin/icedteanp/IcedTeaPluginUtils.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/icedteanp/IcedTeaPluginUtils.cc b/plugin/icedteanp/IcedTeaPluginUtils.cc
index 5cd4231..35feaab 100644
--- a/plugin/icedteanp/IcedTeaPluginUtils.cc
+++ b/plugin/icedteanp/IcedTeaPluginUtils.cc
@@ -85,6 +85,10 @@ void push_pre_init_messages(char * ldm){
pthread_mutex_unlock(&debug_pipe_lock);
}
+void reset_pre_init_messages(){
+ pre_jvm_message = std::queue<std::string>();
+ }
+
/**
* Given a context number, constructs a message prefix to send to Java
*