Avoiding blocking before receiving the progress bar size.
This commit is contained in:
parent
0956651338
commit
6a809bf4ce
@ -80,7 +80,11 @@ sub _migrate_kanji($self) {
|
||||
Glib::Timeout->add(
|
||||
1_000,
|
||||
sub {
|
||||
$read->blocking(0);
|
||||
$n_characters = <$read>;
|
||||
if (!defined $n_characters) {
|
||||
return 1;
|
||||
}
|
||||
chomp $n_characters;
|
||||
say 'Copying ' . $n_characters . ' kanji';
|
||||
Glib::Timeout->add(
|
||||
|
@ -32,6 +32,11 @@
|
||||
|
||||
<developer_name>sergiotarxz</developer_name>
|
||||
<releases>
|
||||
<release version="v1.01" date="2024-12-02">
|
||||
<description>
|
||||
<p>Bugfix, avoiding blocking the program for a small time while waiting for the number of kanji characters to populate.</p>
|
||||
</description>
|
||||
</release>
|
||||
<release version="v1.00" date="2024-11-27">
|
||||
<description>
|
||||
<p>Adding BETA Kanji support.</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user