mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616)
Fixes <https://github.com/koreader/koreader/issues/5614>.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user