-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7c0cb1
commit 4d275eb
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Yast | ||
# This is a counterpart to init_ui in the C code. | ||
# It really belongs near it but I don't know how to code a proc in C. | ||
ObjectSpace.define_finalizer(Yast, proc { Yast.ui_finalizer }) | ||
end | ||
# This is a counterpart to init_ui in the C code. | ||
# It really belongs near it but I don't know how to code a proc in C. | ||
# Workaround warning in ruby3. See e.g. https://github.com/appsignal/rdkafka-ruby/pull/160/files#r656637223 | ||
mod = Yast | ||
ObjectSpace.define_finalizer(mod, proc { mod.ui_finalizer }) |