mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
shareable: Remove old comments
This was introduced atcbf36734f8
, but the situation was changed at9d867850dc
This commit is contained in:
parent
7ac6b0bfa3
commit
ef5e917feb
@ -402,7 +402,6 @@ func (i *Image) at(x, y int) (byte, byte, byte, byte, error) {
|
||||
// A function from finalizer must not be blocked, but disposing operation can be blocked.
|
||||
// Defer this operation until it becomes safe. (#913)
|
||||
func (i *Image) MarkDisposed() {
|
||||
// deferred doesn't have to be, and should not be protected by a mutex.
|
||||
deferredM.Lock()
|
||||
deferred = append(deferred, func() {
|
||||
i.dispose(true)
|
||||
|
Loading…
Reference in New Issue
Block a user