Files
gerrit/gerrit-httpd
Jacek Centkowski e1ab7e9442 LfsPluginServlet#reload: Fix plugin reload
Issue: when plugin gets unloaded it unconditionally cleans up current
reference to the Guice filter chain. Additionally, the access to
LfsPluginServlet.filter was not thread safe.

Use AtomicReference to make LfsPluginServlet.filter thread safe.

When unloading, set LfsPluginServlet.filter to null only if its value
didn't change since the time this plugin version was loaded.

Change-Id: I3287706107bd327af04c563eb46bf398aabda686
Signed-off-by: Jacek Centkowski <geminica.programs@gmail.com>
Also-by: Saša Živkov <zivkov@gmail.com>
2016-07-11 19:01:20 +00:00
..
2016-04-20 22:02:49 +02:00
2016-06-14 21:12:02 +02:00