… | … | ||
---|---|---|---|
88 | 88 | ||
89 | # this is contorted, but likely the correct way to acquire the lock :) | 89 | # this is contorted, but likely the correct way to acquire the lock :) |
90 | cf::sync_job { | 90 | cf::sync_job { |
91 | my $guard = cf::lock_acquire "ext::world_gridmap"; | 91 | my $guard = cf::lock_acquire "ext::world_gridmap"; |
92 | cf::async_ext { | 92 | cf::async_ext { |
93 | $Coro::current->{desc} = "worldmap loader"; | ||
93 | reload; | 94 | reload; |
94 | undef $guard; | 95 | undef $guard; |
95 | }; | 96 | }; |
96 | }; | 97 | }; |
97 | 98 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |