Skip to content

Commit fad2edf

Browse files
committed
add comment
1 parent d857a20 commit fad2edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bk1ch11p462notifications/bk1ch11p462notifications/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ViewController: UIViewController {
3939
object: nil)
4040

4141
case 2:
42-
42+
// warning: this is a serious potential memory leak
4343
let ob = NotificationCenter.default
4444
.addObserver(forName:
4545
.MPMusicPlayerControllerNowPlayingItemDidChange,

0 commit comments

Comments
 (0)