[fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616)

Fixes <https://github.com/koreader/koreader/issues/5614>.
This commit is contained in:
Frans de Jonge
2019-11-19 17:21:42 +01:00
committed by GitHub
parent e655616876
commit 7775233688

View File

@@ -81,9 +81,6 @@ function RadioButton:init()
end
function RadioButton:update()
if self[1] then
self[1]:free()
end
self.frame = FrameContainer:new{
margin = self.margin,
bordersize = self.bordersize,