diff --git a/demo/src/main/java/com/liulishuo/filedownloader/demo/NotificationDemoActivity.java b/demo/src/main/java/com/liulishuo/filedownloader/demo/NotificationDemoActivity.java
index <HASH>..<HASH> 100644
--- a/demo/src/main/java/com/liulishuo/filedownloader/demo/NotificationDemoActivity.java
+++ b/demo/src/main/java/com/liulishuo/filedownloader/demo/NotificationDemoActivity.java
@@ -191,6 +191,9 @@ public class NotificationDemoActivity extends AppCompatActivity {
 
     @Override
     protected void onDestroy() {
+        if (downloadId != 0) {
+            FileDownloader.getImpl().pause(downloadId);
+        }
         this.notificationHelper.clear();
         clear();
         super.onDestroy();
demo(notification-demo): pause the download-task when the notification-demo-activity is on destroy