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

Fixes <https://github.com/koreader/koreader/issues/5614>.
pull/5623/head
Frans de Jonge 5 years ago committed by GitHub
parent e655616876
commit 7775233688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save