lua plugin: Don't destroy interpreter early
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 1 May 2019 12:50:21 +0000 (19:50 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 1 May 2019 12:50:21 +0000 (19:50 +0700)
commit1fe028d387704d46ef777a3f47168baa2262ef78
tree1f5e03f3f4b7009213a2f84b8d363a4912f45486
parent0054089db0e438fb8129f2625a6129b7a73caf9d
lua plugin: Don't destroy interpreter early

If script successfully registered at least one callback,
destroying interpreter will cause Collectd crash when
that callback will be called.

Unfortunately, there is no way to unregister these callbacks
src/lua.c